Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.008/1.008, allocations: 177 MB / 205.2 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.92e-07/9.92e-07, allocations: 0 / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.614e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002477/0.002493, allocations: 1.962 MB / 274.9 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.003942, allocations: 1.277 MB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.00405, allocations: 11.94 kB / 276.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.004308, allocations: 63.59 kB / 276.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002714/0.004579, allocations: 143.3 kB / 276.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.004972, allocations: 227.1 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.005169, allocations: 195.5 kB / 276.9 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.005267, allocations: 37.66 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.00538, allocations: 103.7 kB / 277 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.005479, allocations: 79.78 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.005499, allocations: 11.94 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.005614, allocations: 63.89 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.005685, allocations: 59.81 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.353e-05/0.005738, allocations: 51.78 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.005967, allocations: 199.2 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005969, allocations: 0 / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00597, allocations: 0 / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.005974, allocations: 4 kB / 277.4 MB, free: 13.23 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.0007321/0.006706, allocations: 0.571 MB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.006738, allocations: 15.98 kB / 278 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.006794, allocations: 32.8 kB / 278.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.007042, allocations: 240.6 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.007056, allocations: 4.312 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.007071, allocations: 12.38 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.007343, allocations: 210.3 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.007351, allocations: 4.188 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.007366, allocations: 4.312 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.007373, allocations: 3.938 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/0.007429, allocations: 27.97 kB / 278.6 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.007806, allocations: 382.7 kB / 278.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.007956, allocations: 148.5 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.837e-05/0.008014, allocations: 54.67 kB / 279.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.008033, allocations: 11.94 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.747e-05/0.00813, allocations: 73.03 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.008132, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000248/0.00838, allocations: 149.7 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.008448, allocations: 166.2 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.008666, allocations: 338.3 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.008681, allocations: 25.7 kB / 279.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.008757, allocations: 179.1 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.008777, allocations: 19.89 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.008814, allocations: 35.33 kB / 280.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.008938, allocations: 0.504 MB / 280.6 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.008964, allocations: 12 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/0.009018, allocations: 98.14 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.009073, allocations: 51.39 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009075, allocations: 0 / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.926e-05/0.009174, allocations: 89.8 kB / 280.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.009186, allocations: 8 kB / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.00919, allocations: 0 / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.009201, allocations: 3.984 kB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.009269, allocations: 23.92 kB / 280.9 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.009273, allocations: 3.938 kB / 280.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.009314, allocations: 4 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.009319, allocations: 4.031 kB / 280.9 MB, free: 9.387 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 7.344e-05/0.009392, allocations: 164.6 kB / 281.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.009458, allocations: 85.42 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.009594, allocations: 111.6 kB / 281.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.009597, allocations: 4 kB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.009601, allocations: 0 / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009604, allocations: 0 / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.009734, allocations: 196.5 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.009736, allocations: 8.078 kB / 281.5 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.227e-05/0.009778, allocations: 12 kB / 281.5 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.009782, allocations: 7.938 kB / 281.5 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.009793, allocations: 7.984 kB / 281.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.009795, allocations: 4 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.009795, allocations: 0 / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.009944, allocations: 187.2 kB / 281.7 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.009997, allocations: 47.77 kB / 281.7 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01002, allocations: 4 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.535e-05/0.01005, allocations: 4 kB / 281.7 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.01009, allocations: 15.98 kB / 281.7 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01011, allocations: 4 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01023, allocations: 235 kB / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01023, allocations: 0 / 282 MB, free: 8.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001705/0.0104, allocations: 35.89 kB / 282 MB, free: 8.18 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.0007812/0.01118, allocations: 402.5 kB / 282.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.01131, allocations: 55.67 kB / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01132, allocations: 0 / 282.5 MB, free: 7.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.954e-05/0.01136, allocations: 31.61 kB / 282.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01163, allocations: 89.78 kB / 282.6 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.01203, allocations: 372.8 kB / 282.9 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.877e-05/0.01208, allocations: 83.97 kB / 283 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.652e-05/0.01212, allocations: 21.78 kB / 283 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.01216, allocations: 28.48 kB / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01216, allocations: 0 / 283.1 MB, free: 7.164 MB / 266.7 MB Notification: Performance of Templates: time 0.004918/0.01708, allocations: 3.25 MB / 286.3 MB, free: 3.969 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9130136729218066]