Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 192.3 kB / 21.35 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 247 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 55.92 kB / 358.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1409, allocations: 49.43 MB / 408.1 MB, free: 6.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.004718/0.1457, allocations: 1.6 MB / 409.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1471, allocations: 0.5025 MB / 410.2 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1472, allocations: 11.88 kB / 410.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.229e-05/0.1473, allocations: 7.922 kB / 410.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.1475, allocations: 7.875 kB / 410.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.1478, allocations: 51.83 kB / 410.3 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.148, allocations: 51.84 kB / 410.3 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1481, allocations: 23.97 kB / 410.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1483, allocations: 27.86 kB / 410.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.1483, allocations: 23.86 kB / 410.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1484, allocations: 4 kB / 410.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.1484, allocations: 4 kB / 410.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.1485, allocations: 15.92 kB / 410.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.1486, allocations: 31.8 kB / 410.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1488, allocations: 63.61 kB / 410.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1488, allocations: 4 kB / 410.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1488, allocations: 0 / 410.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1488, allocations: 0 / 410.5 MB, free: 4.551 MB / 334.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.0006806/0.1495, allocations: 392.9 kB / 410.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1495, allocations: 8.031 kB / 410.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.1496, allocations: 16.84 kB / 410.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.15, allocations: 202.1 kB / 411.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.15, allocations: 8.375 kB / 411.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1501, allocations: 12.06 kB / 411.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.1505, allocations: 126.7 kB / 411.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1505, allocations: 0 / 411.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.1506, allocations: 4 kB / 411.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1506, allocations: 4 kB / 411.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1507, allocations: 27.92 kB / 411.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1513, allocations: 283.5 kB / 411.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1515, allocations: 98.36 kB / 411.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1517, allocations: 43.48 kB / 411.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.1517, allocations: 15.92 kB / 411.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.1518, allocations: 30.56 kB / 411.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 4.308e-06/0.1518, allocations: 0 / 411.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004506/0.1522, allocations: 101.5 kB / 411.9 MB, free: 2.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.1524, allocations: 145 kB / 412 MB, free: 2.805 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.1526, allocations: 142.9 kB / 412.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1527, allocations: 25.7 kB / 412.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.572e-05/0.1528, allocations: 99.97 kB / 412.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1528, allocations: 11.89 kB / 412.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.1529, allocations: 21.7 kB / 412.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.1531, allocations: 318.8 kB / 412.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.302e-05/0.1532, allocations: 15.98 kB / 412.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1533, allocations: 44.28 kB / 412.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1535, allocations: 60.22 kB / 412.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1535, allocations: 0 / 412.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002682/0.1538, allocations: 85.5 kB / 412.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1538, allocations: 6.344 kB / 412.8 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.1538, allocations: 4 kB / 412.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1539, allocations: 0 / 412.8 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.154, allocations: 20.14 kB / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.154, allocations: 0 / 412.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.273e-05/0.1541, allocations: 7.938 kB / 412.9 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1542, allocations: 4 kB / 412.9 MB, free: 1.887 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0001534/0.1543, allocations: 125.8 kB / 413 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.1545, allocations: 49.66 kB / 413 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.1545, allocations: 15.86 kB / 413.1 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1546, allocations: 4 kB / 413.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1546, allocations: 4.062 kB / 413.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1546, allocations: 7.875 kB / 413.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.155, allocations: 173.6 kB / 413.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.155, allocations: 4 kB / 413.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.88e-05/0.1551, allocations: 12 kB / 413.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.1551, allocations: 4 kB / 413.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1551, allocations: 8.094 kB / 413.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.1551, allocations: 4 kB / 413.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.1551, allocations: 4 kB / 413.3 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003478/0.1555, allocations: 205.9 kB / 413.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1556, allocations: 89.05 kB / 413.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.1557, allocations: 4 kB / 413.6 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1558, allocations: 4 kB / 413.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.1559, allocations: 15.92 kB / 413.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.1559, allocations: 0 / 413.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.156, allocations: 118.4 kB / 413.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.156, allocations: 3.938 kB / 413.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.1565, allocations: 12 kB / 413.7 MB, free: 0.9258 MB / 334.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.0001679/0.1567, allocations: 103.7 kB / 413.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.1569, allocations: 44.17 kB / 413.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.157, allocations: 0 / 413.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.157, allocations: 15.92 kB / 413.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.1577, allocations: 32.02 kB / 413.9 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.1583, allocations: 227.8 kB / 414.1 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.1588, allocations: 0.7069 MB / 414.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.1589, allocations: 7.438 kB / 414.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1589, allocations: 4 kB / 414.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of Templates: time 0.003872/0.1628, allocations: 0.9208 MB / 415.8 MB, free: 14.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.1446611230494455]