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.001815/0.001815, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.002361/0.002361, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.523/1.523, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.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.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 0.001864/0.001864, allocations: 67.89 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1149, allocations: 53.31 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003258/0.1182, allocations: 1.632 MB / 429.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1194, allocations: 0.5882 MB / 430.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.1195, allocations: 7.938 kB / 430.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.917e-05/0.1195, allocations: 3.938 kB / 430.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001523/0.1197, allocations: 19.86 kB / 430.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.1201, allocations: 67.69 kB / 430.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1202, allocations: 63.78 kB / 430.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1203, allocations: 12.22 kB / 430.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1205, allocations: 39.8 kB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.684e-05/0.1205, allocations: 23.84 kB / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.1206, allocations: 4 kB / 430.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.395e-05/0.1206, allocations: 8 kB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.1207, allocations: 15.92 kB / 430.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.1207, allocations: 39.73 kB / 430.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.1209, allocations: 71.55 kB / 430.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1209, allocations: 0 / 430.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1209, allocations: 0 / 430.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.1209, allocations: 4 kB / 430.4 MB, free: 1.871 MB / 350.1 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.0005949/0.1215, allocations: 391 kB / 430.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1215, allocations: 12.03 kB / 430.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1217, allocations: 20.83 kB / 430.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.1221, allocations: 212.2 kB / 431.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.1221, allocations: 8.375 kB / 431.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.1221, allocations: 4.375 kB / 431.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.1224, allocations: 139 kB / 431.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1224, allocations: 0 / 431.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1225, allocations: 4 kB / 431.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1225, allocations: 8 kB / 431.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.1226, allocations: 27.92 kB / 431.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.123, allocations: 287.3 kB / 431.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1231, allocations: 98.36 kB / 431.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.1232, allocations: 43.48 kB / 431.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1232, allocations: 4 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.1233, allocations: 38.5 kB / 431.7 MB, free: 384 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1233, allocations: 4 kB / 431.7 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003357/0.1236, allocations: 97.55 kB / 431.8 MB, free: 276 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1237, allocations: 137 kB / 431.9 MB, free: 108 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1239, allocations: 154.2 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.1239, allocations: 25.7 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.124, allocations: 96.12 kB / 432.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.124, allocations: 7.953 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.124, allocations: 21.72 kB / 432.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1242, allocations: 318.8 kB / 432.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.1243, allocations: 23.98 kB / 432.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.1243, allocations: 41.16 kB / 432.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1244, allocations: 69.02 kB / 432.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1244, allocations: 4 kB / 432.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001672/0.1246, allocations: 81.5 kB / 432.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1246, allocations: 12.19 kB / 432.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1246, allocations: 3.984 kB / 432.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1247, allocations: 4 kB / 432.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.1247, allocations: 8 kB / 432.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1248, allocations: 7.984 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.1248, allocations: 7.922 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1248, allocations: 4 kB / 432.8 MB, free: 15.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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 prepare postOptimizeDAE: time 0.0001267/0.1249, allocations: 125.8 kB / 432.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1251, allocations: 69.53 kB / 433 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.1251, allocations: 19.8 kB / 433 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.1251, allocations: 3.984 kB / 433 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.1251, allocations: 4 kB / 433 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1251, allocations: 0 / 433 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1254, allocations: 177.6 kB / 433.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.1254, allocations: 7.984 kB / 433.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.1254, allocations: 8 kB / 433.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.1254, allocations: 3.938 kB / 433.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1254, allocations: 4 kB / 433.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1254, allocations: 8.078 kB / 433.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.1255, allocations: 4 kB / 433.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1257, allocations: 193.9 kB / 433.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-05/0.1258, allocations: 97.05 kB / 433.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1258, allocations: 4 kB / 433.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1259, allocations: 4.188 kB / 433.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1259, allocations: 4 kB / 433.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.1259, allocations: 4 kB / 433.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.126, allocations: 123.9 kB / 433.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.126, allocations: 0 / 433.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1263, allocations: 8 kB / 433.7 MB, free: 14.18 MB / 366.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: 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.0001475/0.1264, allocations: 103.2 kB / 433.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1266, allocations: 47.86 kB / 433.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1266, allocations: 3.938 kB / 433.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.1266, allocations: 11.98 kB / 433.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.1271, allocations: 44.73 kB / 433.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.1276, allocations: 247.8 kB / 434.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1279, allocations: 0.7041 MB / 434.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.128, allocations: 11.44 kB / 434.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.128, allocations: 0 / 434.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.00311/0.1311, allocations: 1.029 MB / 435.9 MB, free: 11.92 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.410596200963482]