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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 108.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002122, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.192/2.192, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 47.86 kB / 300.6 MB, free: 6.254 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.146, allocations: 49.45 MB / 350.1 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.005064/0.1511, allocations: 1.651 MB / 351.7 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.1526, allocations: 0.4948 MB / 352.2 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1528, allocations: 7.938 kB / 352.2 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.769e-05/0.1529, allocations: 3.984 kB / 352.2 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.1531, allocations: 7.875 kB / 352.2 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.1536, allocations: 55.81 kB / 352.3 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1538, allocations: 51.8 kB / 352.3 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.154, allocations: 19.98 kB / 352.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1541, allocations: 27.86 kB / 352.4 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.1542, allocations: 23.84 kB / 352.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1543, allocations: 4 kB / 352.4 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.1543, allocations: 4 kB / 352.4 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.213e-05/0.1544, allocations: 11.94 kB / 352.4 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.1545, allocations: 31.8 kB / 352.5 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1546, allocations: 35.92 kB / 352.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.1546, allocations: 0 / 352.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.678e-05/0.1546, allocations: 4 kB / 352.5 MB, free: 2.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1547, allocations: 7.938 kB / 352.5 MB, free: 2.34 MB / 286.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.0007677/0.1554, allocations: 387.3 kB / 352.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.1555, allocations: 8.031 kB / 352.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.1556, allocations: 12.83 kB / 352.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1559, allocations: 192.7 kB / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1559, allocations: 4.359 kB / 353.1 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.156, allocations: 12.12 kB / 353.1 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004698/0.1565, allocations: 138.7 kB / 353.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1565, allocations: 0 / 353.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.1565, allocations: 7.938 kB / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1565, allocations: 0 / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1567, allocations: 31.91 kB / 353.3 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.1573, allocations: 287.5 kB / 353.6 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.1575, allocations: 94.42 kB / 353.7 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.1576, allocations: 47.42 kB / 353.7 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.1577, allocations: 4 kB / 353.7 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1577, allocations: 34.56 kB / 353.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.1577, allocations: 0 / 353.7 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.000521/0.1583, allocations: 105.3 kB / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1584, allocations: 136.5 kB / 354 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1587, allocations: 147.8 kB / 354.1 MB, free: 464 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1587, allocations: 29.64 kB / 354.1 MB, free: 428 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.1588, allocations: 92.08 kB / 354.2 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1588, allocations: 11.89 kB / 354.2 MB, free: 320 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.1589, allocations: 21.66 kB / 354.3 MB, free: 292 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.1591, allocations: 318.8 kB / 354.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.1592, allocations: 15.98 kB / 354.6 MB, free: 15.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1593, allocations: 48.28 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.1595, allocations: 56.22 kB / 354.7 MB, free: 15.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1595, allocations: 4 kB / 354.7 MB, free: 15.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002793/0.1598, allocations: 85.45 kB / 354.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1598, allocations: 6.188 kB / 354.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1599, allocations: 4 kB / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1599, allocations: 0 / 354.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.16, allocations: 15.98 kB / 354.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1601, allocations: 0 / 354.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.1602, allocations: 8.094 kB / 354.8 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.1602, allocations: 8 kB / 354.8 MB, free: 15.68 MB / 302.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.000135/0.1603, allocations: 121.8 kB / 354.9 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.1605, allocations: 57.55 kB / 355 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.1606, allocations: 15.86 kB / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.1606, allocations: 4 kB / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1606, allocations: 0 / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.1606, allocations: 3.938 kB / 355 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.161, allocations: 173.6 kB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.161, allocations: 8.062 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1611, allocations: 19.92 kB / 355.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.1611, allocations: 4 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1612, allocations: 0 / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1612, allocations: 0 / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.1612, allocations: 4 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.1616, allocations: 197.9 kB / 355.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1617, allocations: 93 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1617, allocations: 0 / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.1619, allocations: 8.188 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.162, allocations: 19.86 kB / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.162, allocations: 0 / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1621, allocations: 116.5 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1621, allocations: 4 kB / 355.7 MB, free: 14.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004436/0.1626, allocations: 12 kB / 355.7 MB, free: 14.73 MB / 302.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.0001624/0.1628, allocations: 99.19 kB / 355.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002543/0.163, allocations: 39.92 kB / 355.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.163, allocations: 0 / 355.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/0.1631, allocations: 12.3 kB / 355.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.1638, allocations: 36.08 kB / 355.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.1644, allocations: 257.3 kB / 356.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.1648, allocations: 0.6926 MB / 356.8 MB, free: 13.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.1649, allocations: 15.44 kB / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1649, allocations: 0 / 356.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003807/0.1687, allocations: 0.9077 MB / 357.7 MB, free: 12.6 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches