Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006265/0.006265, allocations: 103 kB / 21.98 MB, free: 5.227 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.001684/0.001684, allocations: 221.9 kB / 25.3 MB, free: 3.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 259 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 379.8 MB, free: 2.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2561, allocations: 53.37 MB / 433.2 MB, free: 7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003499/0.2596, allocations: 1.93 MB / 435.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.2619, allocations: 1.231 MB / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.262, allocations: 7.938 kB / 436.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006282/0.2626, allocations: 159.5 kB / 436.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.2631, allocations: 151.4 kB / 436.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.2636, allocations: 179.4 kB / 436.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.2639, allocations: 191.5 kB / 437 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.264, allocations: 29.53 kB / 437 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2641, allocations: 79.69 kB / 437.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2642, allocations: 79.56 kB / 437.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.2643, allocations: 8 kB / 437.2 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.2644, allocations: 59.95 kB / 437.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.2645, allocations: 43.84 kB / 437.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.2646, allocations: 79.47 kB / 437.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.265, allocations: 209.6 kB / 437.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.265, allocations: 0 / 437.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.265, allocations: 0 / 437.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.265, allocations: 4 kB / 437.6 MB, free: 2.574 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.0008343/0.2658, allocations: 454.7 kB / 438 MB, free: 2.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2658, allocations: 8.031 kB / 438 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.2659, allocations: 24.73 kB / 438.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.2663, allocations: 221.1 kB / 438.3 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.2663, allocations: 4.375 kB / 438.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.2663, allocations: 16.12 kB / 438.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.2667, allocations: 134.7 kB / 438.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2667, allocations: 0 / 438.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.2667, allocations: 4 kB / 438.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2667, allocations: 4 kB / 438.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.2668, allocations: 35.92 kB / 438.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.2673, allocations: 345.4 kB / 438.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.2676, allocations: 103.9 kB / 438.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.2677, allocations: 42.56 kB / 438.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2677, allocations: 4.062 kB / 439 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001726/0.2679, allocations: 75.39 kB / 439 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.2679, allocations: 0 / 439 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003932/0.2683, allocations: 145.4 kB / 439.2 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.2684, allocations: 132.5 kB / 439.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.2687, allocations: 273.1 kB / 439.6 MB, free: 372 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.2687, allocations: 25.7 kB / 439.6 MB, free: 340 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/0.2688, allocations: 120.4 kB / 439.7 MB, free: 216 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2689, allocations: 15.91 kB / 439.7 MB, free: 200 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.2689, allocations: 37.66 kB / 439.8 MB, free: 156 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2691, allocations: 330.8 kB / 440.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.2692, allocations: 19.98 kB / 440.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.2693, allocations: 69.94 kB / 440.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.2694, allocations: 76.25 kB / 440.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2694, allocations: 256 / 440.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002127/0.2696, allocations: 121.6 kB / 440.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2696, allocations: 4 kB / 440.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2696, allocations: 7.938 kB / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2696, allocations: 0 / 440.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.2697, allocations: 19.92 kB / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2697, allocations: 0 / 440.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.2698, allocations: 15.88 kB / 440.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2698, allocations: 4 kB / 440.4 MB, free: 15.45 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.0001317/0.2699, allocations: 142.6 kB / 440.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.27, allocations: 73.48 kB / 440.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002433/0.2703, allocations: 107.3 kB / 440.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2703, allocations: 0 / 440.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.2703, allocations: 7.984 kB / 440.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2703, allocations: 7.875 kB / 440.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.2705, allocations: 192.6 kB / 440.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2705, allocations: 4 kB / 440.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.2705, allocations: 4 kB / 440.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2705, allocations: 4.047 kB / 440.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2705, allocations: 8 kB / 441 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2705, allocations: 7.984 kB / 441 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2706, allocations: 0 / 441 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.2708, allocations: 150.6 kB / 441.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/0.2709, allocations: 31.84 kB / 441.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.2709, allocations: 11.98 kB / 441.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.045e-05/0.271, allocations: 4.125 kB / 441.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.271, allocations: 11.98 kB / 441.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.271, allocations: 7.938 kB / 441.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.2712, allocations: 200.5 kB / 441.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2712, allocations: 0 / 441.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.2715, allocations: 35.88 kB / 441.4 MB, free: 14.36 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.001512/0.273, allocations: 418.9 kB / 441.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.2732, allocations: 63.92 kB / 441.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2732, allocations: 0 / 441.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.2733, allocations: 27.92 kB / 441.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.2737, allocations: 71.03 kB / 442 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006299/0.2744, allocations: 353.8 kB / 442.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.2747, allocations: 0.7281 MB / 443 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.2748, allocations: 23.44 kB / 443.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2748, allocations: 0 / 443.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of Templates: time 0.005194/0.28, allocations: 2.667 MB / 445.7 MB, free: 10.14 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.771545249968767]