Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001756/0.001756, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 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.002144/0.002144, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+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.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2559, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003556/0.2594, allocations: 1.872 MB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00228/0.2617, allocations: 1.22 MB / 435.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2618, allocations: 7.938 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.2622, allocations: 75.66 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.2625, allocations: 127.4 kB / 435.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.2632, allocations: 223.4 kB / 435.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.2635, allocations: 175.5 kB / 436 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2636, allocations: 33.31 kB / 436 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2637, allocations: 79.64 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.2639, allocations: 79.67 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.2639, allocations: 8 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.2641, allocations: 75.88 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.555e-05/0.2642, allocations: 51.83 kB / 436.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.2642, allocations: 63.48 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.2646, allocations: 242 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2646, allocations: 3.938 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2646, allocations: 0 / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.2646, allocations: 4 kB / 436.6 MB, free: 2.391 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.0007569/0.2654, allocations: 482.4 kB / 437.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2654, allocations: 12.03 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.2655, allocations: 20.8 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.2659, allocations: 233.5 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2659, allocations: 384 / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.2659, allocations: 16.12 kB / 437.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.2663, allocations: 179.4 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2663, allocations: 0 / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.2663, allocations: 0 / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2664, allocations: 4 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.2665, allocations: 43.91 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.267, allocations: 322.1 kB / 437.9 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.2673, allocations: 119.9 kB / 438 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.2674, allocations: 46.56 kB / 438.1 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2674, allocations: 3.938 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.2676, allocations: 79.38 kB / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.2676, allocations: 0 / 438.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004004/0.268, allocations: 157.4 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/0.2681, allocations: 136.5 kB / 438.5 MB, free: 372 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.2684, allocations: 337.9 kB / 438.8 MB, free: 28 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2685, allocations: 33.95 kB / 438.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.2686, allocations: 132 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2686, allocations: 19.84 kB / 439 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.2687, allocations: 33.7 kB / 439 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.2688, allocations: 334.8 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.2689, allocations: 27.98 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.269, allocations: 133.4 kB / 439.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.2692, allocations: 88.25 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2692, allocations: 0 / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002474/0.2694, allocations: 129.4 kB / 439.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2695, allocations: 4 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2695, allocations: 4 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2695, allocations: 3.984 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2696, allocations: 16 kB / 439.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2696, allocations: 3.938 kB / 439.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.2697, allocations: 12.11 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2697, allocations: 8.312 kB / 439.8 MB, free: 14.98 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,table.y,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.0001417/0.2698, allocations: 162.5 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-05/0.2699, allocations: 73.44 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.2702, allocations: 123.4 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2702, allocations: 4 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2702, allocations: 0 / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2702, allocations: 0 / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.2704, allocations: 185.2 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2704, allocations: 8.062 kB / 440.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.2705, allocations: 11.94 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.2705, allocations: 4 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2705, allocations: 4 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2705, allocations: 3.984 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2705, allocations: 4 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.2708, allocations: 174.5 kB / 440.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.2709, allocations: 35.84 kB / 440.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.2709, allocations: 4 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.271, allocations: 7.984 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.271, allocations: 11.98 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.271, allocations: 4 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.2713, allocations: 249.2 kB / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2713, allocations: 0 / 440.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.2716, allocations: 39.92 kB / 440.8 MB, free: 13.82 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,table.y,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.00168/0.2733, allocations: 456.8 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.2735, allocations: 83.97 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2735, allocations: 4 kB / 441.4 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.2736, allocations: 27.98 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.274, allocations: 65.72 kB / 441.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006933/0.2747, allocations: 406.6 kB / 441.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.2748, allocations: 132.2 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/0.2749, allocations: 27.42 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2749, allocations: 7.875 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005492/0.2804, allocations: 3.035 MB / 445.1 MB, free: 9.727 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.596747663337737]