Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.001478/0.001478, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001559/0.001559, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.656/1.656, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3438, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004608/0.3484, allocations: 1.899 MB / 434.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3512, allocations: 1.247 MB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.3513, allocations: 7.938 kB / 435.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004417/0.3518, allocations: 67.66 kB / 435.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.3522, allocations: 135.4 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.353, allocations: 246.5 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003473/0.3533, allocations: 187.5 kB / 436.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.3535, allocations: 33.44 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.3536, allocations: 79.64 kB / 436.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.3538, allocations: 91.59 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.3538, allocations: 8 kB / 436.3 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.354, allocations: 79.89 kB / 436.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3541, allocations: 55.77 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.6e-05/0.3542, allocations: 59.61 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.3547, allocations: 261.8 kB / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3547, allocations: 0 / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3547, allocations: 0 / 436.8 MB, free: 2.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3547, allocations: 0 / 436.8 MB, free: 2.262 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001023/0.3557, allocations: 490.5 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.3558, allocations: 8.031 kB / 437.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.449e-05/0.3559, allocations: 24.8 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.3564, allocations: 250.5 kB / 437.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3564, allocations: 8.312 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.3565, allocations: 12.12 kB / 437.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.3569, allocations: 201.2 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.357, allocations: 0 / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.357, allocations: 0 / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.357, allocations: 0 / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.3571, allocations: 51.91 kB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006188/0.3578, allocations: 330.8 kB / 438.1 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.3581, allocations: 142.5 kB / 438.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3582, allocations: 55.42 kB / 438.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3583, allocations: 7.938 kB / 438.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3585, allocations: 79.38 kB / 438.4 MB, free: 456 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.3585, allocations: 4 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005293/0.359, allocations: 177.5 kB / 438.6 MB, free: 268 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.3592, allocations: 162.2 kB / 438.7 MB, free: 68 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005121/0.3597, allocations: 344.2 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.3597, allocations: 37.64 kB / 439.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.3599, allocations: 128.3 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.3599, allocations: 19.89 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/0.36, allocations: 34.05 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.3602, allocations: 342.8 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.3603, allocations: 28.05 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3605, allocations: 155.1 kB / 439.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.3607, allocations: 105.9 kB / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3607, allocations: 0 / 439.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.361, allocations: 141.4 kB / 440 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.361, allocations: 8 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3611, allocations: 3.984 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.823e-05/0.3611, allocations: 4 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3612, allocations: 19.94 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.3612, allocations: 11.92 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.3613, allocations: 11.94 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3614, allocations: 4.188 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.000192/0.3615, allocations: 158.6 kB / 440.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3617, allocations: 81.44 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.362, allocations: 131.4 kB / 440.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.362, allocations: 4 kB / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.362, allocations: 0 / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.362, allocations: 0 / 440.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.3623, allocations: 185.2 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3623, allocations: 4.094 kB / 440.6 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.036e-05/0.3624, allocations: 19.98 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3624, allocations: 0 / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3624, allocations: 4 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/0.3624, allocations: 4.062 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3624, allocations: 3.938 kB / 440.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3628, allocations: 203.3 kB / 440.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.3629, allocations: 43.78 kB / 440.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.363, allocations: 3.984 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.363, allocations: 4 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.3631, allocations: 15.98 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3631, allocations: 4 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.3634, allocations: 259 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3634, allocations: 0 / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.3637, allocations: 32 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001884/0.3656, allocations: 458.2 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.366, allocations: 96.02 kB / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.366, allocations: 0 / 441.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3661, allocations: 35.92 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.3666, allocations: 82.45 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008145/0.3674, allocations: 394.7 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.3676, allocations: 144.6 kB / 442.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.772e-05/0.3677, allocations: 21.64 kB / 442.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.856e-05/0.3677, allocations: 27.42 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3677, allocations: 0 / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Templates: time 0.009915/0.3776, allocations: 3.445 MB / 445.9 MB, free: 8.871 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.187814368997351]