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.001518/0.001518, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001831/0.001831, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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.109/1.109, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 2.985e-06/2.985e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.56e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.00314/0.003176, allocations: 1.97 MB / 274.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.005239, allocations: 1.278 MB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.005393, allocations: 7.938 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.005753, allocations: 71.55 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004029/0.006156, allocations: 143.3 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.006773, allocations: 231.1 kB / 276.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.007031, allocations: 195.4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.007139, allocations: 25.75 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.007286, allocations: 115.6 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.0074, allocations: 71.8 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.007424, allocations: 8 kB / 277.1 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.007611, allocations: 71.94 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.007703, allocations: 55.77 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.007768, allocations: 43.84 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.008142, allocations: 203.2 kB / 277.4 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.008148, allocations: 3.938 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.00815, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.008157, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 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.0007475/0.008905, allocations: 0.5827 MB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.008948, allocations: 8.031 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.09e-05/0.009029, allocations: 28.8 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.009334, allocations: 240.6 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.009354, allocations: 12.36 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.009373, allocations: 4.375 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.009707, allocations: 218.3 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.009719, allocations: 7.922 kB / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.009733, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.009741, allocations: 0 / 278.5 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.199e-05/0.009803, allocations: 27.92 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.01029, allocations: 382.7 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.01049, allocations: 160.3 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.006e-05/0.01055, allocations: 50.73 kB / 279.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.01058, allocations: 4 kB / 279.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.0107, allocations: 76.98 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.0107, allocations: 0 / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002887/0.01099, allocations: 145.7 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.01108, allocations: 170.2 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.01134, allocations: 338.2 kB / 279.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.01136, allocations: 29.7 kB / 279.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.01146, allocations: 183.1 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.01149, allocations: 11.91 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.01154, allocations: 39.31 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.01169, allocations: 0.504 MB / 280.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.24e-05/0.01172, allocations: 11.98 kB / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.01178, allocations: 106.1 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/0.01185, allocations: 47.34 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01185, allocations: 0 / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001212/0.01197, allocations: 89.48 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.01199, allocations: 7.984 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.012, allocations: 0 / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.01201, allocations: 0 / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.191e-05/0.01211, allocations: 12 kB / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.01211, allocations: 0 / 280.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.366e-05/0.01216, allocations: 4 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01217, allocations: 11.98 kB / 280.9 MB, free: 9.211 MB / 266.7 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.0001087/0.01227, allocations: 165.4 kB / 281.1 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.01237, allocations: 85.42 kB / 281.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.01254, allocations: 99.53 kB / 281.2 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01254, allocations: 4 kB / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01254, allocations: 0 / 281.2 MB, free: 8.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01255, allocations: 4 kB / 281.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.01271, allocations: 204.7 kB / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01271, allocations: 0 / 281.4 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.01277, allocations: 24.08 kB / 281.5 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01277, allocations: 4 kB / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.01278, allocations: 0 / 281.5 MB, free: 8.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01279, allocations: 7.938 kB / 281.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01279, allocations: 0 / 281.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.01296, allocations: 191.2 kB / 281.7 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.01302, allocations: 39.84 kB / 281.7 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.01304, allocations: 7.984 kB / 281.7 MB, free: 8.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.949e-05/0.01308, allocations: 7.984 kB / 281.7 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.01314, allocations: 7.984 kB / 281.7 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.01315, allocations: 15.94 kB / 281.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.01331, allocations: 231 kB / 282 MB, free: 8.039 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01331, allocations: 0 / 282 MB, free: 8.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.01352, allocations: 39.89 kB / 282 MB, free: 8 MB / 266.7 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.0009677/0.01449, allocations: 410.2 kB / 282.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.01465, allocations: 51.59 kB / 282.5 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01465, allocations: 0 / 282.5 MB, free: 7.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.0147, allocations: 31.67 kB / 282.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01503, allocations: 88.72 kB / 282.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.01581, allocations: 365.3 kB / 282.9 MB, free: 7.164 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.008e-05/0.01587, allocations: 95.89 kB / 283 MB, free: 7.051 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.01593, allocations: 17.77 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.01598, allocations: 24.5 kB / 283.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01598, allocations: 0 / 283.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of Templates: time 0.005493/0.02147, allocations: 3.258 MB / 286.3 MB, free: 3.809 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2385804657824337]