Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, allocations: 118.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 373.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1187, allocations: 53.32 MB / 427.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.0033/0.122, allocations: 1.858 MB / 429 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.124, allocations: 1.184 MB / 430.2 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.124, allocations: 4 kB / 430.2 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.1247, allocations: 171.5 kB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.1251, allocations: 167.3 kB / 430.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1255, allocations: 138.6 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1257, allocations: 219.3 kB / 430.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1258, allocations: 21.55 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.126, allocations: 79.69 kB / 431 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.1261, allocations: 103.5 kB / 431.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.1261, allocations: 12 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1263, allocations: 51.97 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.1263, allocations: 51.83 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.1264, allocations: 79.42 kB / 431.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003366/0.1268, allocations: 231 kB / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1268, allocations: 0 / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1268, allocations: 0 / 431.5 MB, free: 176 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1268, allocations: 4 kB / 431.5 MB, free: 172 kB / 350.1 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.0008831/0.1277, allocations: 0.535 MB / 432 MB, free: 15.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1277, allocations: 12.03 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.1278, allocations: 20.8 kB / 432.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.1281, allocations: 266.9 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.1281, allocations: 4.375 kB / 432.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1282, allocations: 12.31 kB / 432.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1284, allocations: 118.2 kB / 432.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1284, allocations: 0 / 432.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1284, allocations: 7.984 kB / 432.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1284, allocations: 4 kB / 432.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1286, allocations: 47.91 kB / 432.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.1293, allocations: 0.6027 MB / 433.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1296, allocations: 131.9 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1297, allocations: 46.5 kB / 433.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1297, allocations: 0 / 433.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1299, allocations: 125.9 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.1299, allocations: 0 / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004654/0.1304, allocations: 173.4 kB / 433.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.1305, allocations: 140.5 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1308, allocations: 289 kB / 434 MB, free: 13.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1308, allocations: 29.7 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.583e-05/0.1309, allocations: 132.5 kB / 434.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1309, allocations: 27.75 kB / 434.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.131, allocations: 33.7 kB / 434.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1312, allocations: 334.8 kB / 434.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.236e-05/0.1313, allocations: 35.98 kB / 434.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1314, allocations: 83.89 kB / 434.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1316, allocations: 100.7 kB / 434.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1316, allocations: 0 / 434.8 MB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002747/0.1318, allocations: 141.5 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1319, allocations: 8 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1319, allocations: 3.984 kB / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1319, allocations: 0 / 434.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.132, allocations: 23.81 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.132, allocations: 4 kB / 434.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.1321, allocations: 19.92 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1321, allocations: 4 kB / 435 MB, free: 12.35 MB / 366.1 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 0.0001412/0.1322, allocations: 157.8 kB / 435.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.1323, allocations: 19.86 kB / 435.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.1323, allocations: 25.7 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1323, allocations: 4 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1323, allocations: 0 / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1323, allocations: 0 / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.1326, allocations: 253.4 kB / 435.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1326, allocations: 0 / 435.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.855e-05/0.1326, allocations: 7.984 kB / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.1326, allocations: 4 kB / 435.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1326, allocations: 4 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1326, allocations: 8.109 kB / 435.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1326, allocations: 4 kB / 435.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003306/0.133, allocations: 182.5 kB / 435.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.211e-05/0.133, allocations: 100.9 kB / 435.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1331, allocations: 4 kB / 435.7 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.1332, allocations: 19.98 kB / 435.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.1332, allocations: 7.984 kB / 435.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.1332, allocations: 8 kB / 435.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000225/0.1335, allocations: 220.4 kB / 436 MB, free: 11.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1335, allocations: 0 / 436 MB, free: 11.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1337, allocations: 35.98 kB / 436 MB, free: 11.2 MB / 366.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.001516/0.1352, allocations: 417.8 kB / 436.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.1355, allocations: 87.89 kB / 436.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1355, allocations: 3.938 kB / 436.5 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.1357, allocations: 47.92 kB / 436.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.136, allocations: 54.97 kB / 436.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006394/0.1367, allocations: 353.1 kB / 436.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.137, allocations: 0.7358 MB / 437.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.1371, allocations: 25.55 kB / 437.7 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.547e-05/0.1372, allocations: 23.42 kB / 437.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1372, allocations: 0 / 437.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of Templates: time 0.00682/0.144, allocations: 2.795 MB / 440.5 MB, free: 6.762 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.70581051427871]