Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2501, allocations: 50.53 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.003145/0.2533, allocations: 1.844 MB / 411.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2547, allocations: 0.6972 MB / 412.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000154/0.2548, allocations: 7.938 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.255, allocations: 23.67 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.2552, allocations: 35.72 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.2556, allocations: 95.7 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.2559, allocations: 175.5 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2561, allocations: 74.61 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.2563, allocations: 75.66 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2565, allocations: 91.59 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.2566, allocations: 12 kB / 413 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.2567, allocations: 35.92 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.2567, allocations: 43.84 kB / 413.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2569, allocations: 87.45 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.2572, allocations: 202.7 kB / 413.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2572, allocations: 8 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2572, allocations: 0 / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2572, allocations: 0 / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008996/0.2581, allocations: 0.504 MB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2582, allocations: 8.031 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.2583, allocations: 32.64 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.2586, allocations: 249.5 kB / 414.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.2587, allocations: 12.38 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.2587, allocations: 24.3 kB / 414.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.2591, allocations: 213.6 kB / 414.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.2591, allocations: 3.938 kB / 414.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.2591, allocations: 8 kB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.2591, allocations: 8 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.2595, allocations: 135.8 kB / 414.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.2605, allocations: 0.7778 MB / 415.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.2612, allocations: 198.6 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2613, allocations: 56.83 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.2614, allocations: 0 / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.2616, allocations: 156 kB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.2616, allocations: 0 / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006041/0.2623, allocations: 245.3 kB / 416 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.2623, allocations: 81.11 kB / 416.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.2625, allocations: 222.9 kB / 416.3 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.2626, allocations: 33.7 kB / 416.3 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.2627, allocations: 140.3 kB / 416.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.2627, allocations: 35.53 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.2628, allocations: 61.69 kB / 416.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2629, allocations: 334.8 kB / 416.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2631, allocations: 63.95 kB / 417 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.2633, allocations: 140.4 kB / 417.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.2636, allocations: 220.4 kB / 417.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2636, allocations: 256 / 417.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004588/0.2641, allocations: 253 kB / 417.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.2641, allocations: 8.25 kB / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2641, allocations: 4 kB / 417.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2642, allocations: 4 kB / 417.6 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.2643, allocations: 39.92 kB / 417.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.2644, allocations: 11.92 kB / 417.6 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.2646, allocations: 28.2 kB / 417.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2646, allocations: 8 kB / 417.7 MB, free: 9.492 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.2647, allocations: 152 kB / 417.8 MB, free: 9.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2648, allocations: 23.81 kB / 417.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.265, allocations: 130.9 kB / 418 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.2651, allocations: 4 kB / 418 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2651, allocations: 0 / 418 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.2652, allocations: 100.8 kB / 418.1 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.2652, allocations: 11.94 kB / 418.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2653, allocations: 11.98 kB / 418.1 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.2654, allocations: 27.91 kB / 418.1 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005312/0.266, allocations: 360 kB / 418.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004533/0.2664, allocations: 433.8 kB / 418.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001712/0.2666, allocations: 79.88 kB / 419 MB, free: 8.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.2667, allocations: 144.7 kB / 419.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of Backend: time 2.8e-07/0.2667, allocations: 0 / 419.1 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006607/0.2674, allocations: 193.2 kB / 419.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007477/0.2682, allocations: 0.7639 MB / 420.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of Templates: time 0.005708/0.2739, allocations: 2.382 MB / 422.4 MB, free: 4.613 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches