Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008862/0.000886, allocations: 94.95 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003798, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 51.52 MB / 359.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002276/0.1487, allocations: 1.328 MB / 360.6 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.15, allocations: 0.5494 MB / 361.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.1501, allocations: 3.938 kB / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.351e-05/0.1502, allocations: 0 / 361.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.1504, allocations: 19.84 kB / 361.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.1508, allocations: 55.83 kB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.151, allocations: 51.86 kB / 361.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1511, allocations: 23.97 kB / 361.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.1513, allocations: 31.84 kB / 361.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.354e-05/0.1513, allocations: 19.81 kB / 361.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1514, allocations: 4 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-05/0.1514, allocations: 4 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.646e-05/0.1515, allocations: 19.92 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.1516, allocations: 61.42 kB / 361.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.1517, allocations: 55.78 kB / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1517, allocations: 0 / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.1517, allocations: 0 / 361.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1517, allocations: 3.938 kB / 361.5 MB, free: 11.03 MB / 302.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.0005797/0.1523, allocations: 371.5 kB / 361.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/0.1524, allocations: 11.97 kB / 361.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.1526, allocations: 32.73 kB / 361.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1529, allocations: 199.7 kB / 362.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1529, allocations: 4.375 kB / 362.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.153, allocations: 12.06 kB / 362.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.1533, allocations: 130.7 kB / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1533, allocations: 0 / 362.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.1533, allocations: 8 kB / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1533, allocations: 0 / 362.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.1535, allocations: 31.92 kB / 362.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1539, allocations: 291.5 kB / 362.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1541, allocations: 98.3 kB / 362.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.1542, allocations: 43.55 kB / 362.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1542, allocations: 7.938 kB / 362.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1543, allocations: 38.56 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 2.976e-06/0.1543, allocations: 0 / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003383/0.1546, allocations: 109.4 kB / 362.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.1547, allocations: 133 kB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1549, allocations: 150.4 kB / 363.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1549, allocations: 29.7 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/0.155, allocations: 92.08 kB / 363.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.155, allocations: 7.906 kB / 363.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.155, allocations: 13.72 kB / 363.3 MB, free: 8.961 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1552, allocations: 314.8 kB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1552, allocations: 19.98 kB / 363.6 MB, free: 8.625 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.1553, allocations: 48.28 kB / 363.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1555, allocations: 64.22 kB / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1555, allocations: 0 / 363.7 MB, free: 8.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001919/0.1557, allocations: 89.45 kB / 363.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1557, allocations: 4 kB / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.1557, allocations: 160 / 363.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.1557, allocations: 8 kB / 363.8 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/0.1558, allocations: 12 kB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1559, allocations: 0 / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.1559, allocations: 11.92 kB / 363.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1559, allocations: 8 kB / 363.8 MB, free: 8.348 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 9.457e-05/0.156, allocations: 129.6 kB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.1561, allocations: 53.59 kB / 364 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.1562, allocations: 19.89 kB / 364 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.1562, allocations: 7.984 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1562, allocations: 3.984 kB / 364 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1562, allocations: 7.875 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.1564, allocations: 181.6 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1564, allocations: 128 / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.304e-05/0.1565, allocations: 19.98 kB / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1565, allocations: 0 / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1565, allocations: 0 / 364.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1565, allocations: 4 kB / 364.3 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1565, allocations: 7.938 kB / 364.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1568, allocations: 205.9 kB / 364.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/0.1569, allocations: 97 kB / 364.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1569, allocations: 4 kB / 364.6 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.157, allocations: 4 kB / 364.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.157, allocations: 3.938 kB / 364.6 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.1571, allocations: 7.984 kB / 364.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.441e-05/0.1572, allocations: 114.3 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1572, allocations: 0 / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1575, allocations: 4 kB / 364.7 MB, free: 7.379 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.0001179/0.1576, allocations: 103.2 kB / 364.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001719/0.1578, allocations: 43.92 kB / 364.8 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1578, allocations: 4 kB / 364.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.1578, allocations: 19.92 kB / 364.9 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1583, allocations: 24.64 kB / 364.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.1587, allocations: 235.6 kB / 365.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.1591, allocations: 0.7054 MB / 365.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.118e-05/0.1591, allocations: 0 / 365.8 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.1592, allocations: 11.44 kB / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1592, allocations: 0 / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of Templates: time 0.00315/0.1623, allocations: 0.6601 MB / 366.5 MB, free: 5.52 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches