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.001739/0.001739, allocations: 120.5 kB / 21.94 MB, free: 8 kB / 14.72 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.002001/0.002001, allocations: 204.7 kB / 25.23 MB, free: 3.551 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.507/1.507, allocations: 207.6 MB / 236 MB, free: 9.992 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 51.92 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3624, allocations: 49.16 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003301/0.3657, allocations: 1.835 MB / 399.4 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3674, allocations: 0.9789 MB / 400.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.3676, allocations: 2.375 kB / 400.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.3683, allocations: 169.6 kB / 400.6 MB, free: 7.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.3687, allocations: 135.7 kB / 400.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.3691, allocations: 153.3 kB / 400.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.3695, allocations: 204.3 kB / 401.1 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3696, allocations: 17.59 kB / 401.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.3697, allocations: 84.92 kB / 401.2 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3699, allocations: 94.84 kB / 401.2 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.3699, allocations: 14.69 kB / 401.3 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.3701, allocations: 60.98 kB / 401.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.3702, allocations: 56.27 kB / 401.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.3703, allocations: 72.97 kB / 401.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004005/0.3707, allocations: 218.1 kB / 401.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3707, allocations: 0 / 401.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3707, allocations: 0.7812 kB / 401.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3707, allocations: 0 / 401.7 MB, free: 7.016 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.0008595/0.3715, allocations: 475.5 kB / 402.1 MB, free: 6.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3716, allocations: 13.8 kB / 402.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.523e-05/0.3716, allocations: 27.12 kB / 402.2 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3719, allocations: 194.2 kB / 402.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.372, allocations: 7.625 kB / 402.4 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.372, allocations: 9.859 kB / 402.4 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.3723, allocations: 123.5 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.3723, allocations: 1.125 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.3723, allocations: 1.672 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3723, allocations: 1.188 kB / 402.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3725, allocations: 49.38 kB / 402.5 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.3731, allocations: 0.5829 MB / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3734, allocations: 120.4 kB / 403.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.3735, allocations: 47 kB / 403.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.3735, allocations: 2.859 kB / 403.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.3737, allocations: 123.5 kB / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3737, allocations: 0 / 403.4 MB, free: 5.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004482/0.3742, allocations: 177 kB / 403.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.3742, allocations: 135.9 kB / 403.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.3746, allocations: 282.6 kB / 404 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.3746, allocations: 27.92 kB / 404 MB, free: 5.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.3747, allocations: 130.7 kB / 404.2 MB, free: 4.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3747, allocations: 30.53 kB / 404.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.3748, allocations: 36.28 kB / 404.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.3748, allocations: 339.3 kB / 404.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.3749, allocations: 29.25 kB / 404.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.375, allocations: 89.67 kB / 404.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3752, allocations: 97.61 kB / 404.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3752, allocations: 1.031 kB / 404.8 MB, free: 4.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002472/0.3755, allocations: 136.3 kB / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3755, allocations: 5.469 kB / 404.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3755, allocations: 5.047 kB / 404.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.3755, allocations: 7 kB / 404.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.193e-05/0.3756, allocations: 21.7 kB / 404.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3756, allocations: 2.156 kB / 404.9 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3757, allocations: 20.55 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3757, allocations: 12.34 kB / 405 MB, free: 4.328 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.0001117/0.3758, allocations: 147.7 kB / 405.1 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.3759, allocations: 21.48 kB / 405.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.3761, allocations: 112 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3761, allocations: 2 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3761, allocations: 1.094 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.3761, allocations: 3.938 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3763, allocations: 214.2 kB / 405.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3763, allocations: 1.312 kB / 405.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.3763, allocations: 10.33 kB / 405.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3763, allocations: 2.469 kB / 405.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.3763, allocations: 4.969 kB / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3763, allocations: 2.375 kB / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3763, allocations: 0 / 405.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.3766, allocations: 183.6 kB / 405.7 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.3766, allocations: 15.25 kB / 405.7 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.3767, allocations: 7.453 kB / 405.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.3768, allocations: 10.3 kB / 405.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.3768, allocations: 27.55 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3769, allocations: 5.156 kB / 405.7 MB, free: 3.762 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3771, allocations: 208.8 kB / 405.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3771, allocations: 1.094 kB / 405.9 MB, free: 3.648 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.3774, allocations: 41.27 kB / 406 MB, free: 3.637 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.001681/0.379, allocations: 416.4 kB / 406.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.3794, allocations: 93.33 kB / 406.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3794, allocations: 0 / 406.5 MB, free: 3.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3795, allocations: 50.23 kB / 406.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.3799, allocations: 51.66 kB / 406.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007881/0.3807, allocations: 390.4 kB / 406.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3809, allocations: 0.7293 MB / 407.7 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.381, allocations: 20.03 kB / 407.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.381, allocations: 1.5 kB / 407.7 MB, free: 2.223 MB / 318.1 MB Notification: Performance of Templates: time 0.006614/0.3876, allocations: 2.889 MB / 410.6 MB, free: 1.438 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/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: 7.8822203038726]