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.001741/0.001741, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.002012/0.002012, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.537/1.537, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.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.002493/0.002493, allocations: 57.91 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1609, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004454/0.1653, allocations: 1.627 MB / 380.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1668, allocations: 0.5454 MB / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1669, allocations: 7.938 kB / 381.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.953e-05/0.167, allocations: 7.875 kB / 381.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1671, allocations: 11.88 kB / 381.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.1675, allocations: 67.73 kB / 381.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1677, allocations: 59.78 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1678, allocations: 12.22 kB / 381.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.168, allocations: 39.84 kB / 381.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.938e-05/0.1681, allocations: 27.8 kB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1681, allocations: 4 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.044e-05/0.1681, allocations: 8 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.181e-05/0.1682, allocations: 15.92 kB / 381.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.75e-05/0.1683, allocations: 23.81 kB / 381.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1685, allocations: 79.58 kB / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1685, allocations: 0 / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1685, allocations: 3.938 kB / 381.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1685, allocations: 0 / 381.5 MB, free: 12.93 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.0007907/0.1693, allocations: 317.9 kB / 381.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1693, allocations: 11.98 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.1695, allocations: 24.84 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1699, allocations: 156.3 kB / 382 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1699, allocations: 4.359 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.17, allocations: 8.375 kB / 382 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.1704, allocations: 139 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1704, allocations: 4 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1704, allocations: 0 / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1704, allocations: 4 kB / 382.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1705, allocations: 23.92 kB / 382.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.171, allocations: 243.1 kB / 382.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1712, allocations: 98.34 kB / 382.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1713, allocations: 39.5 kB / 382.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.1713, allocations: 11.92 kB / 382.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/0.1714, allocations: 34.56 kB / 382.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.1714, allocations: 0 / 382.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004228/0.1719, allocations: 97.5 kB / 382.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.172, allocations: 136.5 kB / 382.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1722, allocations: 151.6 kB / 382.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/0.1723, allocations: 33.64 kB / 383 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.1724, allocations: 92.14 kB / 383.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.1724, allocations: 7.953 kB / 383.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.1725, allocations: 25.7 kB / 383.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.1726, allocations: 314.8 kB / 383.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.1727, allocations: 15.98 kB / 383.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1728, allocations: 53.08 kB / 383.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.173, allocations: 65.08 kB / 383.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.173, allocations: 3.938 kB / 383.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002654/0.1733, allocations: 85.5 kB / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.1733, allocations: 8 kB / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1733, allocations: 320 / 383.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1733, allocations: 8 kB / 383.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1734, allocations: 15.98 kB / 383.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1734, allocations: 7.875 kB / 383.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1735, allocations: 4 kB / 383.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1735, allocations: 4 kB / 383.7 MB, free: 10.44 MB / 350.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.0001339/0.1737, allocations: 129.8 kB / 383.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.1738, allocations: 65.55 kB / 383.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.1739, allocations: 15.95 kB / 383.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1739, allocations: 4.094 kB / 383.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.1739, allocations: 4 kB / 383.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1739, allocations: 0 / 383.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1742, allocations: 125.2 kB / 384 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1742, allocations: 0 / 384 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1743, allocations: 12 kB / 384 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1743, allocations: 3.984 kB / 384 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.1743, allocations: 4 kB / 384 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1743, allocations: 3.938 kB / 384 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1743, allocations: 0 / 384 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.1746, allocations: 202 kB / 384.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.555e-05/0.1747, allocations: 19.88 kB / 384.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.1747, allocations: 4 kB / 384.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1749, allocations: 4 kB / 384.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.1749, allocations: 0 / 384.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1749, allocations: 4 kB / 384.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.175, allocations: 123.9 kB / 384.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.175, allocations: 3.938 kB / 384.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000458/0.1755, allocations: 11.98 kB / 384.4 MB, free: 9.637 MB / 350.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.0001317/0.1756, allocations: 95.25 kB / 384.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1759, allocations: 47.92 kB / 384.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1759, allocations: 0 / 384.5 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.1759, allocations: 11.98 kB / 384.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005954/0.1765, allocations: 51.94 kB / 384.6 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.177, allocations: 210.5 kB / 384.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001288/0.1772, allocations: 83.33 kB / 384.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.226e-05/0.1772, allocations: 8.719 kB / 384.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.1773, allocations: 16.44 kB / 384.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1773, allocations: 0 / 384.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of Templates: time 0.005049/0.1823, allocations: 0.9454 MB / 385.8 MB, free: 8.152 MB / 350.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 -s ida -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/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_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.572249414981343]