Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.001286/0.001286, allocations: 113 kB / 19.04 MB, free: 3.254 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.001255/0.001255, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.536/1.536, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.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.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.356, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003785/0.3597, allocations: 1.913 MB / 422.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.3617, allocations: 1.083 MB / 423.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.3618, allocations: 7.938 kB / 423.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.3625, allocations: 151.5 kB / 424 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.3628, allocations: 115.6 kB / 424.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005937/0.3634, allocations: 202.8 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.3637, allocations: 175.5 kB / 424.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3638, allocations: 21.55 kB / 424.5 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3639, allocations: 75.62 kB / 424.6 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.364, allocations: 75.69 kB / 424.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.364, allocations: 8 kB / 424.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3642, allocations: 63.89 kB / 424.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.661e-05/0.3643, allocations: 43.84 kB / 424.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.3644, allocations: 67.53 kB / 424.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.3647, allocations: 204.3 kB / 425 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3647, allocations: 4 kB / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.3647, allocations: 0 / 425 MB, free: 10.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3647, allocations: 0 / 425 MB, free: 10.92 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008342/0.3655, allocations: 0.5155 MB / 425.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3656, allocations: 15.89 kB / 425.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.3657, allocations: 20.8 kB / 425.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.3661, allocations: 267 kB / 425.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.3661, allocations: 8.375 kB / 425.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3661, allocations: 12.12 kB / 425.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.3666, allocations: 150.7 kB / 426 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3666, allocations: 0 / 426 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3666, allocations: 4 kB / 426 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3666, allocations: 4 kB / 426 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3667, allocations: 31.92 kB / 426.1 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.3673, allocations: 354.4 kB / 426.4 MB, free: 9.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.3675, allocations: 111.9 kB / 426.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.103e-05/0.3676, allocations: 38.56 kB / 426.6 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.3677, allocations: 11.92 kB / 426.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.3679, allocations: 83.33 kB / 426.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.3679, allocations: 0 / 426.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004049/0.3683, allocations: 133.5 kB / 426.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.3684, allocations: 140.5 kB / 426.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.3687, allocations: 257.2 kB / 427.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3687, allocations: 37.64 kB / 427.2 MB, free: 8.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.3688, allocations: 120 kB / 427.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.3689, allocations: 15.91 kB / 427.3 MB, free: 8.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.3689, allocations: 33.7 kB / 427.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3691, allocations: 326.8 kB / 427.7 MB, free: 7.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.3691, allocations: 23.98 kB / 427.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.3692, allocations: 70.06 kB / 427.8 MB, free: 7.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3694, allocations: 76.22 kB / 427.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3694, allocations: 0 / 427.9 MB, free: 7.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002074/0.3696, allocations: 121.7 kB / 428 MB, free: 7.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3696, allocations: 4 kB / 428 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.3696, allocations: 8.062 kB / 428 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3696, allocations: 0 / 428 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.3697, allocations: 19.92 kB / 428 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3697, allocations: 0 / 428 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.883e-05/0.3698, allocations: 15.83 kB / 428 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3698, allocations: 8 kB / 428 MB, free: 7.594 MB / 334.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: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001433/0.37, allocations: 149.9 kB / 428.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.888e-05/0.3701, allocations: 65.53 kB / 428.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002349/0.3703, allocations: 107.3 kB / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3703, allocations: 0 / 428.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3703, allocations: 3.984 kB / 428.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3703, allocations: 3.938 kB / 428.4 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.3705, allocations: 221.6 kB / 428.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3705, allocations: 64 / 428.6 MB, free: 6.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.3706, allocations: 15.94 kB / 428.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3706, allocations: 0 / 428.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3706, allocations: 4 kB / 428.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3706, allocations: 0 / 428.6 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3706, allocations: 7.922 kB / 428.6 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.3708, allocations: 158.6 kB / 428.8 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/0.3709, allocations: 105 kB / 428.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.3709, allocations: 7.984 kB / 428.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.371, allocations: 4 kB / 428.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.371, allocations: 4 kB / 428.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3711, allocations: 11.92 kB / 428.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3713, allocations: 192.5 kB / 429.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3713, allocations: 96 / 429.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000252/0.3715, allocations: 35.86 kB / 429.1 MB, free: 6.402 MB / 334.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001485/0.373, allocations: 424.2 kB / 429.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3732, allocations: 67.84 kB / 429.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3732, allocations: 0 / 429.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.3733, allocations: 19.98 kB / 429.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.3737, allocations: 60.56 kB / 429.7 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.3743, allocations: 317 kB / 430 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.3747, allocations: 0.7395 MB / 430.7 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.3748, allocations: 25.53 kB / 430.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.3748, allocations: 15.44 kB / 430.8 MB, free: 4.852 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3748, allocations: 4 kB / 430.8 MB, free: 4.848 MB / 334.1 MB Notification: Performance of Templates: time 0.006409/0.3812, allocations: 2.485 MB / 433.2 MB, free: 2.395 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.840388184413314]