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.001481/0.001481, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001543/0.001543, allocations: 160.9 kB / 24.27 MB, free: 172 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.476/1.476, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.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 2.405e-06/2.405e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.931e-05/4.172e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.006222/0.006263, allocations: 1.629 MB / 273.8 MB, free: 140 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.0084, allocations: 0.5452 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.008544, allocations: 7.938 kB / 274.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.008633, allocations: 7.922 kB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.00887, allocations: 15.81 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.009446, allocations: 67.67 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.00967, allocations: 63.72 kB / 274.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.009838, allocations: 12.22 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.0101, allocations: 47.89 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.892e-05/0.01019, allocations: 15.92 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.01022, allocations: 7.984 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.603e-05/0.0103, allocations: 15.94 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.905e-05/0.01038, allocations: 15.92 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.01044, allocations: 15.94 kB / 274.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.01073, allocations: 71.7 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.01074, allocations: 0 / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01074, allocations: 0 / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.01075, allocations: 0 / 274.8 MB, free: 15.22 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.0008459/0.01159, allocations: 321.9 kB / 275.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.01165, allocations: 11.98 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002944/0.01195, allocations: 20.84 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.01248, allocations: 157.5 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.0125, allocations: 4.375 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.01253, allocations: 4.375 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.01308, allocations: 143.2 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.0131, allocations: 8.062 kB / 275.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.01312, allocations: 8.375 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.01313, allocations: 3.938 kB / 275.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.0133, allocations: 23.98 kB / 275.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.01388, allocations: 235 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.01418, allocations: 94.42 kB / 275.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.01434, allocations: 35.5 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.01438, allocations: 7.984 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.937e-05/0.01446, allocations: 46.44 kB / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.01446, allocations: 0 / 275.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005913/0.01505, allocations: 97.97 kB / 275.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.01522, allocations: 144.5 kB / 276.1 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.01551, allocations: 148.5 kB / 276.2 MB, free: 13.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.01556, allocations: 29.7 kB / 276.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.01567, allocations: 92.08 kB / 276.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.0157, allocations: 7.953 kB / 276.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.01575, allocations: 13.72 kB / 276.4 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0007448/0.01649, allocations: 318.8 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.01656, allocations: 4 kB / 276.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.01663, allocations: 11.92 kB / 276.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.01677, allocations: 28.91 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.01679, allocations: 4 kB / 276.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002131/0.017, allocations: 49.58 kB / 276.8 MB, free: 12.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.01704, allocations: 8 kB / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.01705, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.01707, allocations: 0 / 276.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.0172, allocations: 7.984 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.0172, allocations: 0 / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.01727, allocations: 4.031 kB / 276.8 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.01729, allocations: 4 kB / 276.8 MB, free: 12.91 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.0001948/0.01749, allocations: 117.8 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.0177, allocations: 73.45 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.01777, allocations: 15.95 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.01778, allocations: 7.984 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.01779, allocations: 0 / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.0178, allocations: 3.938 kB / 277 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.01813, allocations: 121.3 kB / 277.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01813, allocations: 8.094 kB / 277.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.01824, allocations: 8 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/0.01824, allocations: 4 kB / 277.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.01826, allocations: 7.922 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01827, allocations: 0 / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.01827, allocations: 4 kB / 277.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.01868, allocations: 194 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.242e-05/0.01877, allocations: 19.94 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.01881, allocations: 7.938 kB / 277.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.01894, allocations: 4 kB / 277.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.01902, allocations: 8 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.01903, allocations: 4 kB / 277.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.01921, allocations: 112.9 kB / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.01921, allocations: 0 / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.01963, allocations: 4 kB / 277.5 MB, free: 12.14 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.0002519/0.01988, allocations: 103.2 kB / 277.6 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.02013, allocations: 27.92 kB / 277.6 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.02013, allocations: 4.062 kB / 277.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.767e-05/0.02021, allocations: 8 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.02097, allocations: 45.42 kB / 277.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007542/0.02172, allocations: 214.2 kB / 277.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.0219, allocations: 83.86 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.02196, allocations: 8.344 kB / 278 MB, free: 11.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.02203, allocations: 12.5 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.002e-06/0.02203, allocations: 0 / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of Templates: time 0.006404/0.02843, allocations: 0.904 MB / 278.9 MB, free: 10.69 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.617451946018264]