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.002031/0.002031, allocations: 89.53 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002328/0.002328, allocations: 157.5 kB / 23.95 MB, free: 4.152 MB / 14.72 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.554/1.554, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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 1.944e-06/1.944e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.398e-05, allocations: 6.219 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.005754/0.005788, allocations: 1.909 MB / 326.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.009707, allocations: 1.242 MB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.01, allocations: 6.938 kB / 328.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.01061, allocations: 76.17 kB / 328.2 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008259/0.01143, allocations: 136.3 kB / 328.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.01296, allocations: 226.7 kB / 328.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006699/0.01363, allocations: 200.4 kB / 328.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.01385, allocations: 30.06 kB / 328.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.01427, allocations: 110.9 kB / 328.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.01455, allocations: 73.62 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.385e-05/0.01461, allocations: 9.594 kB / 329 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.01499, allocations: 68.98 kB / 329.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.01515, allocations: 60.59 kB / 329.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.0153, allocations: 39.72 kB / 329.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008297/0.01613, allocations: 255.6 kB / 329.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.01613, allocations: 0.9375 kB / 329.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01614, allocations: 0 / 329.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.01615, allocations: 0 / 329.4 MB, free: 13.84 MB / 302.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.001558/0.01771, allocations: 499.2 kB / 329.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.01777, allocations: 13.95 kB / 329.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.01792, allocations: 23.52 kB / 329.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009423/0.01887, allocations: 244.6 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.0189, allocations: 4.781 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.01893, allocations: 9.281 kB / 330.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.01966, allocations: 199 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.01968, allocations: 1.219 kB / 330.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.01971, allocations: 5.969 kB / 330.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.01972, allocations: 6.031 kB / 330.4 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002411/0.01996, allocations: 44 kB / 330.5 MB, free: 13.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.02092, allocations: 334.8 kB / 330.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000547/0.02147, allocations: 134.3 kB / 330.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.02168, allocations: 62.25 kB / 331 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.02174, allocations: 14.84 kB / 331 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.02204, allocations: 78.94 kB / 331.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 8.115e-06/0.02204, allocations: 3.984 kB / 331.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008161/0.02286, allocations: 170.9 kB / 331.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/0.02304, allocations: 162.9 kB / 331.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.02385, allocations: 356.4 kB / 331.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.02391, allocations: 32.23 kB / 331.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.0241, allocations: 137.8 kB / 331.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.02415, allocations: 19.41 kB / 331.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.02426, allocations: 30.84 kB / 332 MB, free: 11.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.02454, allocations: 328.8 kB / 332.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.02466, allocations: 23.8 kB / 332.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.02491, allocations: 118.1 kB / 332.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.02519, allocations: 55.23 kB / 332.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.02519, allocations: 5.125 kB / 332.5 MB, free: 11.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004486/0.02564, allocations: 111 kB / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.02567, allocations: 5.594 kB / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.02567, allocations: 0 / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.0257, allocations: 1.062 kB / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.02588, allocations: 14.3 kB / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.02589, allocations: 1.125 kB / 332.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.02605, allocations: 11.73 kB / 332.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.02607, allocations: 2.312 kB / 332.6 MB, free: 11.17 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.0002731/0.02634, allocations: 163.6 kB / 332.8 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.02658, allocations: 84.11 kB / 332.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.02712, allocations: 129.3 kB / 333 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.02713, allocations: 2.375 kB / 333 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.02714, allocations: 0.9688 kB / 333 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.02715, allocations: 1.031 kB / 333 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.02756, allocations: 182.8 kB / 333.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.02757, allocations: 0.9375 kB / 333.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.02771, allocations: 21.44 kB / 333.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.571e-05/0.02772, allocations: 9.859 kB / 333.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.02775, allocations: 6.094 kB / 333.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.02775, allocations: 2.25 kB / 333.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.02776, allocations: 1.125 kB / 333.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.02841, allocations: 182.5 kB / 333.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.02868, allocations: 50.36 kB / 333.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.84e-05/0.02875, allocations: 3.281 kB / 333.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.02889, allocations: 2.344 kB / 333.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.02898, allocations: 12.52 kB / 333.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.02901, allocations: 12.8 kB / 333.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005399/0.02955, allocations: 252.3 kB / 333.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.02955, allocations: 0 / 333.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.03012, allocations: 38.55 kB / 333.8 MB, free: 10.33 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.002846/0.03297, allocations: 451.5 kB / 334.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.03334, allocations: 66.88 kB / 334.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.03334, allocations: 0 / 334.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001673/0.03351, allocations: 38.39 kB / 334.3 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.03434, allocations: 78.58 kB / 334.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.03561, allocations: 410 kB / 334.8 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.03589, allocations: 136.2 kB / 334.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.03606, allocations: 34.11 kB / 334.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.03617, allocations: 25.67 kB / 335 MB, free: 9.582 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.03617, allocations: 0 / 335 MB, free: 9.582 MB / 302.1 MB Notification: Performance of Templates: time 0.01531/0.05148, allocations: 3.228 MB / 338.2 MB, free: 7.645 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.6596512496471405]