Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001044/0.001044, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00149/0.00149, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.586 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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.417e-05, allocations: 4.984 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.008626/0.00865, allocations: 1.677 MB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.009627, allocations: 0.5685 MB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.009729, allocations: 7.938 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.122e-05/0.009791, allocations: 11.86 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.009947, allocations: 19.86 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.01025, allocations: 59.75 kB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.01037, allocations: 67.7 kB / 275.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.01048, allocations: 8.234 kB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.01063, allocations: 55.81 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.01069, allocations: 15.92 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.01071, allocations: 8 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.793e-05/0.01075, allocations: 8 kB / 275.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.01081, allocations: 15.92 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.01084, allocations: 19.92 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.01099, allocations: 47.77 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01099, allocations: 0 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.011, allocations: 0 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.011, allocations: 3.938 kB / 275.5 MB, free: 14.83 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.000474/0.01147, allocations: 416.2 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.01152, allocations: 11.98 kB / 275.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.01166, allocations: 32.78 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.01189, allocations: 160.4 kB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.0119, allocations: 8.297 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.01191, allocations: 4.375 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.01222, allocations: 160.8 kB / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.01223, allocations: 192 / 276.3 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.01224, allocations: 4.375 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.01225, allocations: 3.938 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.01228, allocations: 15.94 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004078/0.01269, allocations: 298.8 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.01283, allocations: 112.4 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.01289, allocations: 50.73 kB / 276.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.01292, allocations: 4 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.01296, allocations: 41.33 kB / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.01296, allocations: 0 / 276.8 MB, free: 13.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002797/0.01324, allocations: 81.5 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.01333, allocations: 136.5 kB / 277 MB, free: 13.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.0135, allocations: 207.2 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.01351, allocations: 25.7 kB / 277.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.0136, allocations: 138.9 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.01362, allocations: 4.453 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.01367, allocations: 31.36 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.01384, allocations: 492.1 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.295e-05/0.01385, allocations: 4 kB / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.01386, allocations: 0 / 277.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.01389, allocations: 19.67 kB / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.0139, allocations: 0 / 277.9 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.487e-05/0.01396, allocations: 37.59 kB / 278 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.01398, allocations: 10.81 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01398, allocations: 0 / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.014, allocations: 8.031 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.864e-05/0.01407, allocations: 4 kB / 278 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.01408, allocations: 3.984 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.0141, allocations: 0 / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.0141, allocations: 0 / 278 MB, free: 12.04 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 9.398e-05/0.0142, allocations: 156.6 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.01427, allocations: 69.52 kB / 278.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.01431, allocations: 15.91 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01431, allocations: 0 / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.01431, allocations: 4.094 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01432, allocations: 4 kB / 278.2 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.01444, allocations: 132.6 kB / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01444, allocations: 0 / 278.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.697e-05/0.01447, allocations: 19.98 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.01448, allocations: 0 / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.01448, allocations: 3.938 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01449, allocations: 4 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01449, allocations: 3.938 kB / 278.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.01462, allocations: 242.9 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.01465, allocations: 15.94 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.01467, allocations: 7.938 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.0147, allocations: 7.984 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.01474, allocations: 4 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01475, allocations: 0 / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.785e-05/0.01481, allocations: 156.8 kB / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01481, allocations: 0 / 278.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001396/0.01495, allocations: 4 kB / 278.8 MB, free: 11.13 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 9.032e-05/0.01504, allocations: 103.1 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.977e-05/0.01513, allocations: 23.69 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01514, allocations: 0 / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.01515, allocations: 19.61 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01545, allocations: 34.28 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.01603, allocations: 224.3 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.394e-05/0.01608, allocations: 63.75 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.352e-05/0.01611, allocations: 4 kB / 279.3 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.01614, allocations: 12.5 kB / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.01614, allocations: 0 / 279.3 MB, free: 10.57 MB / 266.7 MB Notification: Performance of Templates: time 0.00284/0.01898, allocations: 0.904 MB / 280.2 MB, free: 9.684 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.9954506251960993]