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.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.001347/0.001347, allocations: 106 kB / 21.18 MB, free: 0.7188 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.00137/0.00137, allocations: 189.3 kB / 24.47 MB, free: 4.094 MB / 14.72 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 1.574/1.574, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 59.91 kB / 347.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3551, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003234/0.3584, allocations: 1.828 MB / 398.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.3598, allocations: 0.9836 MB / 399.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.3599, allocations: 2 kB / 399.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.3606, allocations: 175 kB / 399.8 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.361, allocations: 123.7 kB / 399.9 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.3614, allocations: 153.7 kB / 400.1 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002764/0.3617, allocations: 216.1 kB / 400.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3618, allocations: 9.25 kB / 400.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.3619, allocations: 87.81 kB / 400.4 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.3621, allocations: 96.36 kB / 400.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.3621, allocations: 10.53 kB / 400.5 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3623, allocations: 56.84 kB / 400.5 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.3623, allocations: 51.33 kB / 400.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.504e-05/0.3624, allocations: 77.34 kB / 400.6 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.3628, allocations: 218.2 kB / 400.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3628, allocations: 1.062 kB / 400.9 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3628, allocations: 4 kB / 400.9 MB, free: 7.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3628, allocations: 0 / 400.9 MB, free: 7.027 MB / 318.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.0008012/0.3636, allocations: 468.2 kB / 401.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3636, allocations: 12.58 kB / 401.3 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.3637, allocations: 22.11 kB / 401.4 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.364, allocations: 204 kB / 401.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.364, allocations: 7.219 kB / 401.6 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.364, allocations: 13.86 kB / 401.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3643, allocations: 120.4 kB / 401.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3643, allocations: 0 / 401.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3643, allocations: 1.219 kB / 401.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3643, allocations: 2.719 kB / 401.7 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.3644, allocations: 49.59 kB / 401.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.365, allocations: 0.582 MB / 402.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3652, allocations: 128.7 kB / 402.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.3653, allocations: 47.91 kB / 402.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3654, allocations: 9.438 kB / 402.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.3656, allocations: 116.8 kB / 402.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.3656, allocations: 0 / 402.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.000448/0.366, allocations: 178.3 kB / 402.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.366, allocations: 133 kB / 402.9 MB, free: 5.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.3663, allocations: 282.9 kB / 403.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3663, allocations: 31.53 kB / 403.2 MB, free: 5.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.217e-05/0.3664, allocations: 131.7 kB / 403.4 MB, free: 4.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3664, allocations: 25.64 kB / 403.4 MB, free: 4.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.3665, allocations: 32.44 kB / 403.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.3665, allocations: 334.5 kB / 403.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.3666, allocations: 34.06 kB / 403.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.3667, allocations: 85.78 kB / 403.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3669, allocations: 97.56 kB / 404 MB, free: 4.445 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3669, allocations: 1.312 kB / 404 MB, free: 4.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000253/0.3672, allocations: 147.5 kB / 404.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3672, allocations: 5.688 kB / 404.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3672, allocations: 8.062 kB / 404.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3672, allocations: 2.25 kB / 404.1 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.926e-05/0.3673, allocations: 19.5 kB / 404.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3673, allocations: 5.375 kB / 404.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3674, allocations: 18.86 kB / 404.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.3674, allocations: 7.625 kB / 404.2 MB, free: 4.34 MB / 318.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.0001011/0.3675, allocations: 148.1 kB / 404.3 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.3676, allocations: 17.25 kB / 404.3 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.3678, allocations: 108 kB / 404.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3678, allocations: 1.125 kB / 404.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3678, allocations: 1.438 kB / 404.4 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.3678, allocations: 4.812 kB / 404.4 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.368, allocations: 216.9 kB / 404.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.368, allocations: 2.25 kB / 404.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.368, allocations: 13.22 kB / 404.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.368, allocations: 1.125 kB / 404.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.368, allocations: 2.062 kB / 404.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.368, allocations: 6.953 kB / 404.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.368, allocations: 1.219 kB / 404.7 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3683, allocations: 182.8 kB / 404.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.3684, allocations: 15.75 kB / 404.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.3684, allocations: 7.5 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.3685, allocations: 10.03 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.3686, allocations: 18.88 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3686, allocations: 5.938 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3688, allocations: 220.3 kB / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3688, allocations: 1.062 kB / 405.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3691, allocations: 36.56 kB / 405.2 MB, free: 3.648 MB / 318.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 (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.001389/0.3705, allocations: 417 kB / 405.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.3707, allocations: 89.56 kB / 405.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3707, allocations: 0 / 405.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.3709, allocations: 48.42 kB / 405.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3713, allocations: 64.42 kB / 405.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.3718, allocations: 356.4 kB / 406.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.372, allocations: 0.7333 MB / 406.9 MB, free: 2.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.734e-05/0.3721, allocations: 25.91 kB / 406.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.479e-05/0.3722, allocations: 20.19 kB / 406.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3722, allocations: 0 / 406.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Templates: time 0.007367/0.3795, allocations: 2.801 MB / 409.7 MB, free: 1.578 MB / 318.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.987338420934975]