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.0008889/0.0008889, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004645/0.004645, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8701/0.8701, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.733e-06/1.733e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.562e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002382/0.002408, allocations: 1.897 MB / 327.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.003965, allocations: 1.142 MB / 328.8 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.004076, allocations: 7.938 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005549/0.004631, allocations: 163.3 kB / 329 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002883/0.004919, allocations: 159.3 kB / 329.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.005247, allocations: 175.2 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.005446, allocations: 191.4 kB / 329.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.005551, allocations: 21.75 kB / 329.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.005668, allocations: 99.72 kB / 329.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.541e-05/0.005763, allocations: 67.8 kB / 329.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.005784, allocations: 12 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.005896, allocations: 67.83 kB / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.005956, allocations: 39.84 kB / 329.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.006006, allocations: 47.78 kB / 329.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.006266, allocations: 199.4 kB / 330 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.006269, allocations: 4 kB / 330 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.006271, allocations: 0 / 330 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.006276, allocations: 0 / 330 MB, free: 11.12 MB / 298.7 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.0005924/0.006868, allocations: 454.7 kB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.006902, allocations: 15.98 kB / 330.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.006952, allocations: 24.78 kB / 330.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.007209, allocations: 204.9 kB / 330.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007225, allocations: 8.375 kB / 330.7 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.007239, allocations: 4.375 kB / 330.7 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.007498, allocations: 149.8 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007507, allocations: 8.125 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.007518, allocations: 384 / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.007525, allocations: 3.938 kB / 330.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.007595, allocations: 39.92 kB / 330.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.007937, allocations: 290.2 kB / 331.2 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.008084, allocations: 115.8 kB / 331.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.008135, allocations: 38.56 kB / 331.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.008159, allocations: 11.94 kB / 331.4 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/0.008275, allocations: 75.38 kB / 331.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.008276, allocations: 0 / 331.4 MB, free: 9.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002662/0.008542, allocations: 145.4 kB / 331.6 MB, free: 9.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.008601, allocations: 106.8 kB / 331.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.008805, allocations: 277.8 kB / 332 MB, free: 8.984 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.008819, allocations: 29.7 kB / 332 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.008885, allocations: 120.1 kB / 332.1 MB, free: 8.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.008908, allocations: 24.22 kB / 332.1 MB, free: 8.805 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.008946, allocations: 33.59 kB / 332.2 MB, free: 8.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.009042, allocations: 326.8 kB / 332.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.096e-05/0.009083, allocations: 19.98 kB / 332.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.144e-05/0.009144, allocations: 68.27 kB / 332.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.266e-05/0.009217, allocations: 57.64 kB / 332.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.00922, allocations: 0 / 332.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001143/0.009334, allocations: 97.47 kB / 332.7 MB, free: 8.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.009347, allocations: 8 kB / 332.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.009353, allocations: 4.062 kB / 332.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.009365, allocations: 320 / 332.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.42e-05/0.00943, allocations: 11.98 kB / 332.8 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.009436, allocations: 4 kB / 332.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.009469, allocations: 4 kB / 332.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.009476, allocations: 8 kB / 332.8 MB, free: 8.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.154e-05/0.009568, allocations: 134.6 kB / 332.9 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.009628, allocations: 69.42 kB / 333 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.009787, allocations: 123.6 kB / 333.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.009791, allocations: 4 kB / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.009795, allocations: 0 / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.009799, allocations: 0 / 333.1 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.00992, allocations: 177.1 kB / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.009922, allocations: 0 / 333.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.009941, allocations: 4 kB / 333.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.009946, allocations: 7.922 kB / 333.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.009955, allocations: 4 kB / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.009957, allocations: 0 / 333.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.009959, allocations: 4 kB / 333.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.01011, allocations: 158.6 kB / 333.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.01016, allocations: 43.77 kB / 333.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.01018, allocations: 4 kB / 333.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.162e-05/0.01021, allocations: 0 / 333.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01025, allocations: 11.98 kB / 333.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.01027, allocations: 4 kB / 333.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.01039, allocations: 205.2 kB / 333.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01039, allocations: 0 / 333.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001695/0.01056, allocations: 23.94 kB / 333.7 MB, free: 7.105 MB / 298.7 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 (10): * Single equations (assignments): 8 * 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.0007201/0.01128, allocations: 441.8 kB / 334.2 MB, free: 6.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.01143, allocations: 67.83 kB / 334.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01143, allocations: 0 / 334.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.273e-05/0.01147, allocations: 27.98 kB / 334.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.01174, allocations: 62.62 kB / 334.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.01218, allocations: 362.2 kB / 334.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.829e-05/0.01226, allocations: 123.7 kB / 334.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/0.01229, allocations: 20.48 kB / 334.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01229, allocations: 0 / 334.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003782/0.01607, allocations: 2.707 MB / 337.5 MB, free: 3.41 MB / 298.7 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: 4.724152614362538]