Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.00189/0.00189, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.002324/0.002324, allocations: 218.9 kB / 23 MB, free: 5.574 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.554/1.554, allocations: 230.2 MB / 256.2 MB, free: 8.543 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.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 59.91 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4431, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003824/0.4469, allocations: 1.942 MB / 431.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.4492, allocations: 1.231 MB / 433 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.4494, allocations: 4 kB / 433 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007376/0.4501, allocations: 155.5 kB / 433.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004558/0.4506, allocations: 151.4 kB / 433.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.4511, allocations: 166.8 kB / 433.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.4514, allocations: 199.4 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4516, allocations: 17.56 kB / 433.6 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.4517, allocations: 79.62 kB / 433.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.4518, allocations: 79.67 kB / 433.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.4519, allocations: 8 kB / 433.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.452, allocations: 59.91 kB / 433.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.767e-05/0.4521, allocations: 47.77 kB / 433.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.4522, allocations: 67.55 kB / 434 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.4526, allocations: 216.4 kB / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4526, allocations: 0 / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4526, allocations: 4 kB / 434.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.4526, allocations: 0 / 434.2 MB, free: 3.117 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.0008906/0.4535, allocations: 0.5193 MB / 434.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4535, allocations: 8.031 kB / 434.7 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.4536, allocations: 20.8 kB / 434.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.454, allocations: 271 kB / 435 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.454, allocations: 4.375 kB / 435 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.454, allocations: 12.38 kB / 435 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.4544, allocations: 151 kB / 435.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4545, allocations: 7.938 kB / 435.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.4545, allocations: 0 / 435.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.4545, allocations: 4 kB / 435.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.4546, allocations: 27.98 kB / 435.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.4553, allocations: 374.3 kB / 435.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.4556, allocations: 107.9 kB / 435.7 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.4557, allocations: 38.56 kB / 435.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.4557, allocations: 4.062 kB / 435.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.4559, allocations: 83.33 kB / 435.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.4559, allocations: 0 / 435.8 MB, free: 1.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003811/0.4563, allocations: 137.5 kB / 435.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.4564, allocations: 136.5 kB / 436.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.4567, allocations: 269 kB / 436.3 MB, free: 0.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4567, allocations: 41.83 kB / 436.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.4568, allocations: 116.1 kB / 436.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.4568, allocations: 11.91 kB / 436.5 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.4569, allocations: 37.66 kB / 436.5 MB, free: 500 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.457, allocations: 330.8 kB / 436.8 MB, free: 160 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.798e-05/0.4571, allocations: 24.23 kB / 436.9 MB, free: 136 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.4572, allocations: 66 kB / 436.9 MB, free: 48 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.4573, allocations: 80.3 kB / 437 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4573, allocations: 0 / 437 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002103/0.4575, allocations: 117.5 kB / 437.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4576, allocations: 8 kB / 437.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4576, allocations: 0 / 437.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.4576, allocations: 0 / 437.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.4577, allocations: 16 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4577, allocations: 3.984 kB / 437.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.4577, allocations: 7.953 kB / 437.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.4577, allocations: 7.938 kB / 437.2 MB, free: 15.79 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: 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.0001612/0.4579, allocations: 161.8 kB / 437.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.458, allocations: 61.53 kB / 437.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.4582, allocations: 103.4 kB / 437.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4582, allocations: 0 / 437.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4582, allocations: 4 kB / 437.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4582, allocations: 3.984 kB / 437.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.4585, allocations: 225.5 kB / 437.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4585, allocations: 4 kB / 437.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.4585, allocations: 4 kB / 437.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4585, allocations: 8.172 kB / 437.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.4585, allocations: 12 kB / 437.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4585, allocations: 3.938 kB / 437.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4585, allocations: 0 / 437.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4588, allocations: 150.6 kB / 437.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.4589, allocations: 116.9 kB / 438 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.4589, allocations: 4 kB / 438 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.459, allocations: 4 kB / 438 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.459, allocations: 7.984 kB / 438 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.459, allocations: 4 kB / 438 MB, free: 14.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002261/0.4593, allocations: 200.5 kB / 438.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4593, allocations: 3.938 kB / 438.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.4595, allocations: 31.94 kB / 438.3 MB, free: 14.58 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: 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.001597/0.4611, allocations: 424.2 kB / 438.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002635/0.4614, allocations: 63.91 kB / 438.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4614, allocations: 3.938 kB / 438.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.276e-05/0.4615, allocations: 24 kB / 438.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.4619, allocations: 67 kB / 438.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006742/0.4626, allocations: 324.9 kB / 439.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.463, allocations: 0.728 MB / 439.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.516e-05/0.4631, allocations: 25.52 kB / 439.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.4631, allocations: 19.44 kB / 439.9 MB, free: 13 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4631, allocations: 4 kB / 439.9 MB, free: 13 MB / 350.1 MB Notification: Performance of Templates: time 0.006905/0.47, allocations: 2.52 MB / 442.4 MB, free: 10.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.1210966585204005]