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.001842/0.001842, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002437/0.002437, allocations: 208.9 kB / 23.73 MB, free: 4.387 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001568/0.001568, allocations: 43.92 kB / 378.2 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2443, allocations: 53.37 MB / 431.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003547/0.2479, allocations: 1.868 MB / 433.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.2502, allocations: 1.22 MB / 434.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.2503, allocations: 3.938 kB / 434.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.2506, allocations: 75.64 kB / 434.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.251, allocations: 139.4 kB / 434.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.2517, allocations: 225.7 kB / 435.1 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.2519, allocations: 175.5 kB / 435.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.2521, allocations: 29.67 kB / 435.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2522, allocations: 75.69 kB / 435.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.2523, allocations: 83.61 kB / 435.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.2523, allocations: 8 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.2525, allocations: 83.88 kB / 435.5 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.174e-05/0.2526, allocations: 43.84 kB / 435.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.661e-05/0.2527, allocations: 55.61 kB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.253, allocations: 252.2 kB / 435.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.253, allocations: 3.938 kB / 435.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.253, allocations: 3.938 kB / 435.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.82e-06/0.253, allocations: 0 / 435.9 MB, free: 2.367 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.0007183/0.2538, allocations: 474.5 kB / 436.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2538, allocations: 12.03 kB / 436.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.2538, allocations: 20.8 kB / 436.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.2543, allocations: 241.4 kB / 436.6 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2543, allocations: 4.375 kB / 436.6 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.2543, allocations: 12.12 kB / 436.6 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.2547, allocations: 175.3 kB / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2547, allocations: 0 / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.2547, allocations: 0 / 436.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2547, allocations: 11.98 kB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2548, allocations: 39.91 kB / 436.9 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.2553, allocations: 314.1 kB / 437.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.2556, allocations: 115.9 kB / 437.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.544e-05/0.2557, allocations: 46.56 kB / 437.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.2557, allocations: 7.938 kB / 437.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.2559, allocations: 75.38 kB / 437.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.2559, allocations: 4 kB / 437.4 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003922/0.2562, allocations: 161.4 kB / 437.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.2563, allocations: 132.5 kB / 437.7 MB, free: 356 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.2567, allocations: 341.9 kB / 438 MB, free: 8 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.2567, allocations: 25.7 kB / 438.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.2568, allocations: 128.1 kB / 438.2 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.2569, allocations: 23.83 kB / 438.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.2569, allocations: 29.72 kB / 438.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2571, allocations: 339 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.2572, allocations: 27.98 kB / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.2573, allocations: 145.3 kB / 438.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.2575, allocations: 84.47 kB / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2575, allocations: 0 / 438.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002562/0.2577, allocations: 133.5 kB / 438.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2578, allocations: 11.98 kB / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2578, allocations: 0 / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2578, allocations: 0 / 439 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2579, allocations: 16 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.2579, allocations: 15.91 kB / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-05/0.258, allocations: 0 / 439 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.258, allocations: 8 kB / 439 MB, free: 14.96 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.0001473/0.2581, allocations: 154.5 kB / 439.1 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2582, allocations: 77.5 kB / 439.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.2585, allocations: 131.4 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.2585, allocations: 3.938 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2585, allocations: 0 / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2585, allocations: 4 kB / 439.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.2587, allocations: 181.1 kB / 439.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2587, allocations: 0 / 439.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.754e-05/0.2588, allocations: 11.94 kB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.2588, allocations: 4 kB / 439.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2588, allocations: 3.984 kB / 439.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2588, allocations: 8.062 kB / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2588, allocations: 0 / 439.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.2591, allocations: 174.5 kB / 439.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-05/0.2592, allocations: 39.83 kB / 439.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.2592, allocations: 4 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.769e-05/0.2593, allocations: 3.984 kB / 439.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.851e-05/0.2594, allocations: 12.05 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.2594, allocations: 12 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002618/0.2596, allocations: 249.2 kB / 440 MB, free: 13.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2596, allocations: 0 / 440 MB, free: 13.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.2599, allocations: 43.88 kB / 440.1 MB, free: 13.79 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.00163/0.2615, allocations: 443.4 kB / 440.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.2618, allocations: 87.78 kB / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2618, allocations: 0 / 440.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.2619, allocations: 27.98 kB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.2623, allocations: 73.34 kB / 440.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006672/0.2629, allocations: 376.9 kB / 441.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.2631, allocations: 127.9 kB / 441.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.452e-05/0.2632, allocations: 29.62 kB / 441.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.2632, allocations: 27.42 kB / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2632, allocations: 0 / 441.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Templates: time 0.007362/0.2706, allocations: 3.164 MB / 444.4 MB, free: 9.621 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/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: 4.703249659389257]