Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009256, allocations: 97.39 kB / 16.3 MB, free: 5.656 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.0009222/0.0009222, allocations: 183.1 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 241.1 MB, free: 284 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002968, allocations: 12.55 kB / 300.7 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1407, allocations: 50.41 MB / 351.1 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001986/0.1428, allocations: 1.163 MB / 352.3 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001939/0.143, allocations: 31.92 kB / 352.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.061e-05/0.1431, allocations: 0 / 352.3 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.354e-05/0.1431, allocations: 7.922 kB / 352.3 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.1432, allocations: 3.984 kB / 352.3 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1435, allocations: 19.98 kB / 352.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.1436, allocations: 11.98 kB / 352.4 MB, free: 2.762 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1438, allocations: 8 kB / 352.4 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.1438, allocations: 15.91 kB / 352.4 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.1439, allocations: 7.938 kB / 352.4 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1439, allocations: 8 kB / 352.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.1439, allocations: 0 / 352.4 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.1439, allocations: 7.984 kB / 352.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.144, allocations: 33.64 kB / 352.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.1441, allocations: 23.91 kB / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1441, allocations: 0 / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1441, allocations: 0 / 352.5 MB, free: 2.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1441, allocations: 0 / 352.5 MB, free: 2.652 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005704/0.1447, allocations: 339.5 kB / 352.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.1447, allocations: 12.03 kB / 352.8 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1448, allocations: 11.86 kB / 352.8 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1451, allocations: 175 kB / 353 MB, free: 2.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.1451, allocations: 4 kB / 353 MB, free: 2.035 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1451, allocations: 4 kB / 353 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/0.1455, allocations: 123.3 kB / 353.1 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1455, allocations: 3.938 kB / 353.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1456, allocations: 0 / 353.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1456, allocations: 8 kB / 353.1 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1457, allocations: 27.92 kB / 353.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.1459, allocations: 161.7 kB / 353.3 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1461, allocations: 54.55 kB / 353.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1461, allocations: 0 / 353.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.1462, allocations: 30.56 kB / 353.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.894e-06/0.1462, allocations: 7.938 kB / 353.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003042/0.1465, allocations: 81.83 kB / 353.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.1466, allocations: 59.25 kB / 353.6 MB, free: 1.387 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.1467, allocations: 105.8 kB / 353.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1467, allocations: 25.7 kB / 353.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.1468, allocations: 84.14 kB / 353.8 MB, free: 1.156 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.1468, allocations: 7.938 kB / 353.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1468, allocations: 0 / 353.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1469, allocations: 326.8 kB / 354.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.147, allocations: 4 kB / 354.1 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.147, allocations: 31.38 kB / 354.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.147, allocations: 11.98 kB / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.147, allocations: 0 / 354.1 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.377e-05/0.1471, allocations: 57.64 kB / 354.2 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1472, allocations: 4 kB / 354.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1472, allocations: 7.984 kB / 354.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.1472, allocations: 0 / 354.2 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.962e-05/0.1473, allocations: 8 kB / 354.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1473, allocations: 3.938 kB / 354.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.1473, allocations: 4 kB / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1473, allocations: 0 / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.1475, allocations: 121.9 kB / 354.3 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.1476, allocations: 69.58 kB / 354.4 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.1477, allocations: 3.906 kB / 354.4 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1477, allocations: 3.984 kB / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1477, allocations: 0 / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.1477, allocations: 0 / 354.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.1478, allocations: 157.6 kB / 354.6 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1478, allocations: 4 kB / 354.6 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.1479, allocations: 12.36 kB / 354.6 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1479, allocations: 3.938 kB / 354.6 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1479, allocations: 4 kB / 354.6 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1479, allocations: 4 kB / 354.6 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1479, allocations: 0 / 354.6 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1481, allocations: 93.05 kB / 354.7 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.1482, allocations: 89.02 kB / 354.8 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.1482, allocations: 3.938 kB / 354.8 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.072e-05/0.1482, allocations: 4 kB / 354.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-06/0.1482, allocations: 288 / 354.8 MB, free: 0 / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1483, allocations: 0 / 354.8 MB, free: 0 / 286.1 MB Notification: Performance of sorting global known variables: time 5.805e-05/0.1483, allocations: 91.31 kB / 354.9 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1483, allocations: 4 kB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.1485, allocations: 4 kB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001734/0.1487, allocations: 99.19 kB / 355 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.1489, allocations: 31.86 kB / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1489, allocations: 0 / 355 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.1489, allocations: 4 kB / 355 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1493, allocations: 46.84 kB / 355.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.1497, allocations: 124.7 kB / 355.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.15, allocations: 0.6809 MB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.316e-05/0.1501, allocations: 3.984 kB / 355.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.1501, allocations: 11.44 kB / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1501, allocations: 0 / 355.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of Templates: time 0.003114/0.1532, allocations: 378.8 kB / 356.2 MB, free: 14.48 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches