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.001319/0.001319, allocations: 114 kB / 18.46 MB, free: 4.621 MB / 14.72 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.00145/0.00145, allocations: 208.3 kB / 21.41 MB, free: 1.668 MB / 14.72 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.602/1.602, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 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 0.002024/0.002024, allocations: 47.92 kB / 374.2 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.151, allocations: 53.33 MB / 427.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003006/0.154, allocations: 1.63 MB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1552, allocations: 0.5883 MB / 429.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.1552, allocations: 7.938 kB / 429.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.1553, allocations: 7.875 kB / 429.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1554, allocations: 15.86 kB / 429.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1558, allocations: 63.75 kB / 429.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.1559, allocations: 59.78 kB / 429.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.156, allocations: 16.22 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.1562, allocations: 39.73 kB / 429.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.708e-05/0.1563, allocations: 31.84 kB / 430 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1563, allocations: 4 kB / 430 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.1563, allocations: 8 kB / 430 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.1564, allocations: 15.92 kB / 430 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1564, allocations: 35.73 kB / 430 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1566, allocations: 71.61 kB / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1566, allocations: 0 / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1566, allocations: 0 / 430.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1566, allocations: 0 / 430.1 MB, free: 1.66 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.0005677/0.1572, allocations: 399 kB / 430.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1572, allocations: 8.031 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.1574, allocations: 24.83 kB / 430.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.1577, allocations: 212.1 kB / 430.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1577, allocations: 4.375 kB / 430.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1578, allocations: 4.375 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.1581, allocations: 139 kB / 430.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1581, allocations: 7.938 kB / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1582, allocations: 0 / 430.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1582, allocations: 3.938 kB / 430.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.816e-05/0.1583, allocations: 27.92 kB / 430.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.1587, allocations: 291.4 kB / 431.2 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1588, allocations: 94.42 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.1589, allocations: 43.48 kB / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1589, allocations: 3.938 kB / 431.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.159, allocations: 38.56 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.159, allocations: 0 / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003424/0.1593, allocations: 101.5 kB / 431.5 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.1594, allocations: 137 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1596, allocations: 153.5 kB / 431.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.1596, allocations: 29.7 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.1597, allocations: 92.12 kB / 431.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1597, allocations: 7.953 kB / 431.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.1598, allocations: 17.72 kB / 431.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.16, allocations: 322.8 kB / 432.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/0.16, allocations: 11.98 kB / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.813e-05/0.1601, allocations: 57.03 kB / 432.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.1602, allocations: 65.08 kB / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1602, allocations: 0 / 432.3 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001867/0.1604, allocations: 85.5 kB / 432.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1605, allocations: 4 kB / 432.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1605, allocations: 7.969 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1605, allocations: 4 kB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1606, allocations: 12.19 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.1606, allocations: 11.92 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1607, allocations: 15.92 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1607, allocations: 4 kB / 432.5 MB, free: 14.93 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.0001272/0.1608, allocations: 117.8 kB / 432.6 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.1609, allocations: 69.53 kB / 432.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.284e-05/0.161, allocations: 11.88 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.161, allocations: 8.078 kB / 432.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.161, allocations: 4 kB / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.161, allocations: 0 / 432.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.1612, allocations: 181.7 kB / 432.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1612, allocations: 7.922 kB / 432.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.984e-05/0.1613, allocations: 12 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1613, allocations: 4 kB / 432.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1613, allocations: 0 / 432.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.1613, allocations: 11.92 kB / 432.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1613, allocations: 0 / 432.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1616, allocations: 198 kB / 433.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.429e-05/0.1617, allocations: 89.05 kB / 433.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1617, allocations: 8 kB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.1618, allocations: 0 / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1618, allocations: 8 kB / 433.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1618, allocations: 0 / 433.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001115/0.1619, allocations: 119.2 kB / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1619, allocations: 0 / 433.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1622, allocations: 8 kB / 433.3 MB, free: 13.98 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.0001372/0.1623, allocations: 110 kB / 433.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1625, allocations: 40.23 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1625, allocations: 4.062 kB / 433.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.1626, allocations: 7.984 kB / 433.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.163, allocations: 50.02 kB / 433.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1635, allocations: 247.5 kB / 433.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1639, allocations: 0.704 MB / 434.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.164, allocations: 11.44 kB / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.164, allocations: 0 / 434.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of Templates: time 0.002771/0.1667, allocations: 1.036 MB / 435.5 MB, free: 11.71 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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: 7.576039742009016]