Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 82.36 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 146.7 kB / 23.94 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.855e-05, allocations: 5.094 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002692/0.00271, allocations: 1.868 MB / 320.8 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004342, allocations: 1.11 MB / 321.9 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.004441, allocations: 6.812 kB / 321.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.004741, allocations: 67.39 kB / 322 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.005003, allocations: 92.25 kB / 322.1 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.005695, allocations: 277.4 kB / 322.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.005911, allocations: 182.4 kB / 322.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.006011, allocations: 26.11 kB / 322.5 MB, free: 1.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.006157, allocations: 106 kB / 322.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.006298, allocations: 72.52 kB / 322.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.00633, allocations: 9.156 kB / 322.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.00649, allocations: 76.97 kB / 322.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.006575, allocations: 59.77 kB / 322.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.281e-05/0.006648, allocations: 43.22 kB / 322.9 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.006984, allocations: 246.2 kB / 323.1 MB, free: 1.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006987, allocations: 4.906 kB / 323.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006988, allocations: 0 / 323.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.006992, allocations: 0 / 323.1 MB, free: 1.004 MB / 286.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.0005995/0.007592, allocations: 482.2 kB / 323.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.007622, allocations: 10.39 kB / 323.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.007685, allocations: 23.95 kB / 323.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.007988, allocations: 237.5 kB / 323.9 MB, free: 384 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.008006, allocations: 8.328 kB / 323.9 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.008024, allocations: 6.25 kB / 323.9 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.008368, allocations: 198.6 kB / 324.1 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.00838, allocations: 9.094 kB / 324.1 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.008394, allocations: 1.812 kB / 324.1 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.008399, allocations: 5.281 kB / 324.1 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.008521, allocations: 49.02 kB / 324.1 MB, free: 192 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.008992, allocations: 324.1 kB / 324.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.009285, allocations: 142.1 kB / 324.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.009395, allocations: 56.97 kB / 324.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.009423, allocations: 7.188 kB / 324.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.009601, allocations: 82.39 kB / 324.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.009602, allocations: 0 / 324.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005392/0.01014, allocations: 172 kB / 324.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.01028, allocations: 167.8 kB / 325.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.01066, allocations: 335.6 kB / 325.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.01069, allocations: 31.08 kB / 325.4 MB, free: 15.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.01081, allocations: 123.6 kB / 325.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.01083, allocations: 18.47 kB / 325.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.01089, allocations: 28.83 kB / 325.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.01104, allocations: 333.8 kB / 325.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.01111, allocations: 22.09 kB / 325.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.01124, allocations: 115.1 kB / 326.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.01139, allocations: 72.62 kB / 326.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.0114, allocations: 0 / 326.1 MB, free: 14.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002258/0.01162, allocations: 102.6 kB / 326.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01164, allocations: 9.625 kB / 326.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01164, allocations: 5.156 kB / 326.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.01165, allocations: 1.219 kB / 326.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.01175, allocations: 16.72 kB / 326.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01176, allocations: 1.156 kB / 326.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.01183, allocations: 9.156 kB / 326.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.01184, allocations: 2.25 kB / 326.3 MB, free: 14.5 MB / 302.1 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,table.y) * 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 0.0001516/0.01199, allocations: 156.3 kB / 326.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.01211, allocations: 88.59 kB / 326.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.01243, allocations: 139.5 kB / 326.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.01243, allocations: 2.719 kB / 326.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.01244, allocations: 1.25 kB / 326.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01244, allocations: 1.781 kB / 326.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.01267, allocations: 176.8 kB / 326.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.01268, allocations: 1.625 kB / 326.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.01276, allocations: 16.58 kB / 326.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.01277, allocations: 1.5 kB / 326.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.01278, allocations: 7.016 kB / 326.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01279, allocations: 1.781 kB / 326.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01279, allocations: 1.062 kB / 326.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.01314, allocations: 196.8 kB / 327.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.01324, allocations: 43.67 kB / 327.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/0.01328, allocations: 2.859 kB / 327.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.415e-05/0.01335, allocations: 4.766 kB / 327.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.596e-05/0.01342, allocations: 11.69 kB / 327.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.01344, allocations: 6.812 kB / 327.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003232/0.01376, allocations: 244.8 kB / 327.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01376, allocations: 0 / 327.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.01404, allocations: 36.11 kB / 327.4 MB, free: 13.77 MB / 302.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.001663/0.0157, allocations: 471.5 kB / 327.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002429/0.01595, allocations: 73.23 kB / 327.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01595, allocations: 0 / 327.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.01604, allocations: 25.97 kB / 328 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.01649, allocations: 76.88 kB / 328 MB, free: 13.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007047/0.0172, allocations: 395 kB / 328.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.01737, allocations: 137.5 kB / 328.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.854e-05/0.01745, allocations: 26.25 kB / 328.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.01751, allocations: 22.98 kB / 328.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01751, allocations: 4 kB / 328.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Templates: time 0.008032/0.02554, allocations: 3.205 MB / 331.8 MB, free: 12.21 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.393828306347132]