Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001896/0.001896, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00204/0.00204, allocations: 165.6 kB / 24.27 MB, free: 152 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.652/1.652, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.869e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003171/0.003199, allocations: 1.641 MB / 274 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.004485, allocations: 0.5686 MB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.004579, allocations: 7.938 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.204e-05/0.004641, allocations: 3.938 kB / 274.5 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.004789, allocations: 11.86 kB / 274.6 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.005144, allocations: 75.61 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.005289, allocations: 59.73 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.005401, allocations: 12.22 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.005568, allocations: 47.89 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.005632, allocations: 19.92 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.005653, allocations: 4 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.326e-05/0.005697, allocations: 4 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.005758, allocations: 23.91 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.873e-05/0.005797, allocations: 11.94 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.005986, allocations: 75.66 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005989, allocations: 0 / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00599, allocations: 0 / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005994, allocations: 0 / 274.9 MB, free: 15.25 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008682/0.006863, allocations: 427.8 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.006899, allocations: 8.031 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.007057, allocations: 20.84 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.007325, allocations: 160.4 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.00734, allocations: 4.375 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.007353, allocations: 8.312 kB / 275.5 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.00768, allocations: 152.3 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.007688, allocations: 192 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.007701, allocations: 12.31 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.007708, allocations: 3.938 kB / 275.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.00779, allocations: 23.92 kB / 275.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.008173, allocations: 298.8 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.008375, allocations: 128.4 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.008465, allocations: 54.8 kB / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.008489, allocations: 0 / 276.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.008536, allocations: 49.27 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.008538, allocations: 0 / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003182/0.008856, allocations: 93.56 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.008979, allocations: 141 kB / 276.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.009183, allocations: 214.9 kB / 276.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.009205, allocations: 29.7 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.009307, allocations: 146.8 kB / 276.8 MB, free: 13.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.009325, allocations: 7.953 kB / 276.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.009366, allocations: 19.38 kB / 276.8 MB, free: 13 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002834/0.00965, allocations: 0.4884 MB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.009686, allocations: 7.984 kB / 277.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.186e-05/0.009708, allocations: 4 kB / 277.3 MB, free: 12.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.167e-05/0.00977, allocations: 23.67 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.009772, allocations: 64 / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001002/0.009872, allocations: 53.53 kB / 277.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.009887, allocations: 4 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.009892, allocations: 0 / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.009908, allocations: 3.984 kB / 277.4 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.009968, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.009972, allocations: 0 / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.009998, allocations: 0 / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.01001, allocations: 4 kB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001202/0.01013, allocations: 156.6 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.01025, allocations: 81.53 kB / 277.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.01028, allocations: 15.95 kB / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.01029, allocations: 0 / 277.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.0103, allocations: 8 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0103, allocations: 0 / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.01049, allocations: 140.6 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.01049, allocations: 3.984 kB / 277.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.01057, allocations: 15.94 kB / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01057, allocations: 0 / 277.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.01058, allocations: 12.03 kB / 277.9 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.01059, allocations: 4 kB / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01059, allocations: 0 / 277.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.01087, allocations: 254.8 kB / 278.1 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.01091, allocations: 19.94 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.01093, allocations: 7.938 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.386e-05/0.011, allocations: 0 / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.01103, allocations: 7.984 kB / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.01104, allocations: 0 / 278.1 MB, free: 11.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.01116, allocations: 158 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01116, allocations: 4 kB / 278.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002085/0.01137, allocations: 8 kB / 278.3 MB, free: 11.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001302/0.0115, allocations: 99.23 kB / 278.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.01164, allocations: 35.61 kB / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.01164, allocations: 0 / 278.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.01168, allocations: 15.69 kB / 278.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.01207, allocations: 37 kB / 278.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.01258, allocations: 232.4 kB / 278.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.642e-05/0.01268, allocations: 79.33 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.217e-05/0.01271, allocations: 3.984 kB / 278.8 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.01275, allocations: 16.5 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01275, allocations: 0 / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of Templates: time 0.003951/0.0167, allocations: 0.9198 MB / 279.7 MB, free: 9.953 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.650517856935039]