Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007743/0.0007743, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001791, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006787/0.0006787, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008769/0.001556, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8021/0.8021, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1263/0.9283, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.321e-05, allocations: 5.406 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.001972/0.001985, allocations: 1.893 MB / 223.9 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000924/0.002909, allocations: 0.9553 MB / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.002987, allocations: 0 / 224.8 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004634/0.00345, allocations: 171.3 kB / 225 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.003612, allocations: 139.3 kB / 225.1 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.003826, allocations: 163.4 kB / 225.3 MB, free: 12.72 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003996, allocations: 199.4 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.004065, allocations: 22.33 kB / 225.5 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.004212, allocations: 144.7 kB / 225.7 MB, free: 12.36 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.004305, allocations: 75.78 kB / 225.7 MB, free: 12.29 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.004325, allocations: 12 kB / 225.7 MB, free: 12.28 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.004433, allocations: 67.81 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.935e-05/0.004483, allocations: 35.88 kB / 225.8 MB, free: 12.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.004521, allocations: 35.92 kB / 225.9 MB, free: 12.14 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.004698, allocations: 163.3 kB / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/0.004708, allocations: 0 / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004708, allocations: 0 / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.004717, allocations: 0 / 226 MB, free: 11.98 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004992/0.005216, allocations: 457 kB / 226.5 MB, free: 11.5 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.547e-05/0.005241, allocations: 12.03 kB / 226.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.005278, allocations: 16.86 kB / 226.5 MB, free: 11.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005451, allocations: 193.6 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.005466, allocations: 4.375 kB / 226.7 MB, free: 11.26 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.005478, allocations: 8.375 kB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.005597, allocations: 96.45 kB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.005606, allocations: 3.938 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.005614, allocations: 4 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.005621, allocations: 4 kB / 226.8 MB, free: 11.12 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.005657, allocations: 22.75 kB / 226.8 MB, free: 11.1 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.00597, allocations: 450.3 kB / 227.3 MB, free: 10.63 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.006081, allocations: 138.6 kB / 227.4 MB, free: 10.47 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.006109, allocations: 38.56 kB / 227.5 MB, free: 10.42 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.006124, allocations: 3.938 kB / 227.5 MB, free: 10.42 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.006233, allocations: 104.7 kB / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.006234, allocations: 0 / 227.6 MB, free: 10.29 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001477/0.006381, allocations: 96.41 kB / 227.7 MB, free: 10.19 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.006422, allocations: 110.8 kB / 227.8 MB, free: 10.06 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.006548, allocations: 234.6 kB / 228 MB, free: 9.812 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.006561, allocations: 29.7 kB / 228 MB, free: 9.777 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.006599, allocations: 112.7 kB / 228.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.006623, allocations: 27.73 kB / 228.2 MB, free: 9.637 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.006657, allocations: 37.69 kB / 228.2 MB, free: 9.594 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0003152/0.006972, allocations: 334.8 kB / 228.5 MB, free: 9.258 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.006991, allocations: 10.83 kB / 228.5 MB, free: 9.246 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.007034, allocations: 82.77 kB / 228.6 MB, free: 9.141 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.844e-05/0.007093, allocations: 77.78 kB / 228.7 MB, free: 9.047 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007095, allocations: 0 / 228.7 MB, free: 9.047 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.075e-05/0.007186, allocations: 101 kB / 228.8 MB, free: 8.941 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.007196, allocations: 8 kB / 228.8 MB, free: 8.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.007201, allocations: 4 kB / 228.8 MB, free: 8.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007213, allocations: 4 kB / 228.8 MB, free: 8.926 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.007276, allocations: 19.92 kB / 228.8 MB, free: 8.906 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.00728, allocations: 4 kB / 228.8 MB, free: 8.902 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.007326, allocations: 15.98 kB / 228.8 MB, free: 8.887 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.007331, allocations: 0 / 228.8 MB, free: 8.887 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.093e-05/0.007392, allocations: 128.6 kB / 229 MB, free: 8.75 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.007409, allocations: 15.92 kB / 229 MB, free: 8.734 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.007496, allocations: 83.38 kB / 229.1 MB, free: 8.648 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007498, allocations: 0 / 229.1 MB, free: 8.648 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0075, allocations: 4 kB / 229.1 MB, free: 8.645 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.007504, allocations: 3.984 kB / 229.1 MB, free: 8.641 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.833e-05/0.007603, allocations: 117.7 kB / 229.2 MB, free: 8.508 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007604, allocations: 0 / 229.2 MB, free: 8.508 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.007624, allocations: 11.98 kB / 229.2 MB, free: 8.496 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.00764, allocations: 15.84 kB / 229.2 MB, free: 8.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.007642, allocations: 8 kB / 229.2 MB, free: 8.473 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.007648, allocations: 0 / 229.2 MB, free: 8.473 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007649, allocations: 0 / 229.2 MB, free: 8.473 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007651, allocations: 4 kB / 229.2 MB, free: 8.469 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.565e-05/0.007746, allocations: 129 kB / 229.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.007766, allocations: 11.94 kB / 229.4 MB, free: 8.305 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.00781, allocations: 4 kB / 229.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.007847, allocations: 19.97 kB / 229.4 MB, free: 8.281 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.007856, allocations: 4 kB / 229.4 MB, free: 8.277 MB / 234.7 MB Notification: Performance of sorting global known variables: time 6.126e-05/0.007918, allocations: 81.61 kB / 229.5 MB, free: 8.195 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007918, allocations: 4 kB / 229.5 MB, free: 8.191 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000132/0.00805, allocations: 35.92 kB / 229.5 MB, free: 8.156 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/0.009124, allocations: 0.585 MB / 230.1 MB, free: 7.605 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 9.618e-05/0.009221, allocations: 48.83 kB / 230.1 MB, free: 7.555 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.009226, allocations: 4 kB / 230.1 MB, free: 7.551 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.009273, allocations: 48.98 kB / 230.2 MB, free: 7.5 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.009504, allocations: 323.8 kB / 230.5 MB, free: 7.125 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.009957, allocations: 319.4 kB / 230.8 MB, free: 6.781 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.009996, allocations: 79.98 kB / 230.9 MB, free: 6.684 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.01004, allocations: 21.7 kB / 230.9 MB, free: 6.664 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.01012, allocations: 87.34 kB / 231 MB, free: 6.578 MB / 234.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01012, allocations: 0 / 231 MB, free: 6.578 MB / 234.7 MB Notification: Performance of Templates: time 0.004218/0.01434, allocations: 3.111 MB / 234.1 MB, free: 3.465 MB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3897071620449424]