Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 73.88 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 148 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 173.4 MB / 201.1 MB, free: 12.67 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 45.67 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09982, allocations: 52.16 MB / 371.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003749/0.1036, allocations: 1.799 MB / 373.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1056, allocations: 0.9821 MB / 374.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1057, allocations: 3.938 kB / 374.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.1064, allocations: 167.5 kB / 374.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.1067, allocations: 135.5 kB / 374.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.1072, allocations: 174.5 kB / 374.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.1076, allocations: 211.3 kB / 375 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1077, allocations: 9.812 kB / 375 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.1079, allocations: 91.67 kB / 375.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.108, allocations: 91.59 kB / 375.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.1081, allocations: 8 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000197/0.1083, allocations: 59.97 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.1084, allocations: 51.83 kB / 375.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1085, allocations: 63.48 kB / 375.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004559/0.109, allocations: 223.1 kB / 375.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.109, allocations: 0 / 375.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.109, allocations: 0 / 375.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.109, allocations: 0 / 375.6 MB, free: 3.266 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001028/0.11, allocations: 462.7 kB / 376 MB, free: 2.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.11, allocations: 8.922 kB / 376.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.1101, allocations: 28.8 kB / 376.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1105, allocations: 201.3 kB / 376.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.1105, allocations: 8 kB / 376.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.1105, allocations: 4 kB / 376.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.1107, allocations: 113 kB / 376.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1108, allocations: 0 / 376.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1108, allocations: 7.984 kB / 376.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1108, allocations: 0 / 376.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1109, allocations: 51.91 kB / 376.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.1116, allocations: 0.5439 MB / 377 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.1119, allocations: 123.9 kB / 377.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.112, allocations: 46.5 kB / 377.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.112, allocations: 4 kB / 377.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.1123, allocations: 121.9 kB / 377.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.1123, allocations: 0 / 377.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005164/0.1128, allocations: 189.4 kB / 377.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/0.1129, allocations: 106.8 kB / 377.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.1132, allocations: 289.6 kB / 377.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1132, allocations: 33.7 kB / 377.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.1133, allocations: 124.1 kB / 378 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.1134, allocations: 23.8 kB / 378 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.1134, allocations: 33.7 kB / 378.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1136, allocations: 330.8 kB / 378.4 MB, free: 220 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.1137, allocations: 35.97 kB / 378.4 MB, free: 184 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.1138, allocations: 94.84 kB / 378.5 MB, free: 64 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.114, allocations: 108.4 kB / 378.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.114, allocations: 3.938 kB / 378.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002965/0.1143, allocations: 141.5 kB / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1143, allocations: 8 kB / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1144, allocations: 0 / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1144, allocations: 4.094 kB / 378.8 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.1145, allocations: 16.56 kB / 378.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.1145, allocations: 11.92 kB / 378.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1146, allocations: 11.95 kB / 378.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.1146, allocations: 15.97 kB / 378.8 MB, free: 15.73 MB / 350.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.0001373/0.1147, allocations: 145.6 kB / 379 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.241e-05/0.1148, allocations: 27.84 kB / 379 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.115, allocations: 119.4 kB / 379.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.115, allocations: 4 kB / 379.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1151, allocations: 7.938 kB / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1151, allocations: 0 / 379.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.1153, allocations: 169.2 kB / 379.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1153, allocations: 0 / 379.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1153, allocations: 4 kB / 379.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.1153, allocations: 4 kB / 379.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.1153, allocations: 11.92 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.1153, allocations: 7.938 kB / 379.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1153, allocations: 0 / 379.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.1157, allocations: 190.3 kB / 379.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1157, allocations: 27.89 kB / 379.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.1157, allocations: 4 kB / 379.6 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1158, allocations: 11.98 kB / 379.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.1159, allocations: 15.92 kB / 379.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.1159, allocations: 11.98 kB / 379.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.1161, allocations: 205.2 kB / 379.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1161, allocations: 3.938 kB / 379.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002838/0.1164, allocations: 43.88 kB / 379.8 MB, free: 14.66 MB / 350.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.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.001671/0.1181, allocations: 450.1 kB / 380.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002977/0.1184, allocations: 91.89 kB / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1184, allocations: 0 / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.1185, allocations: 51.91 kB / 380.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1189, allocations: 51.69 kB / 380.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.1196, allocations: 360.6 kB / 380.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.1197, allocations: 115.6 kB / 380.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.58e-05/0.1198, allocations: 29.61 kB / 381 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1198, allocations: 24.5 kB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1198, allocations: 0 / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Templates: time 0.007446/0.1273, allocations: 2.832 MB / 383.8 MB, free: 10.85 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.5721538360230625]