Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 60.03 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1491, allocations: 50.52 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003305/0.1524, allocations: 1.445 MB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003145/0.1528, allocations: 93.36 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.1529, allocations: 0 / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.853e-05/0.1529, allocations: 3.938 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.153, allocations: 7.922 kB / 360.4 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003251/0.1533, allocations: 19.98 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1535, allocations: 31.92 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000144/0.1536, allocations: 15.97 kB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.1536, allocations: 7.938 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.998e-05/0.1537, allocations: 7.938 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1537, allocations: 4 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.1537, allocations: 4 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.1538, allocations: 15.86 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.1538, allocations: 11.94 kB / 360.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.83e-05/0.1539, allocations: 23.89 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1539, allocations: 0 / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.1539, allocations: 8 kB / 360.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1539, allocations: 0 / 360.6 MB, free: 11.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000477/0.1544, allocations: 339.4 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1545, allocations: 8.031 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.1545, allocations: 12.84 kB / 360.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1548, allocations: 168.4 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1548, allocations: 4.375 kB / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1548, allocations: 384 / 361.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.1552, allocations: 111.8 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1552, allocations: 4.188 kB / 361.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1553, allocations: 3.938 kB / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1553, allocations: 0 / 361.2 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1554, allocations: 27.86 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.1556, allocations: 161.7 kB / 361.4 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1558, allocations: 54.56 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.884e-05/0.1558, allocations: 20.86 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1559, allocations: 4.031 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.1559, allocations: 34.56 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1559, allocations: 4 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000282/0.1562, allocations: 73.55 kB / 361.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.1563, allocations: 51.41 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1565, allocations: 109.8 kB / 361.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.1565, allocations: 25.7 kB / 361.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.355e-05/0.1566, allocations: 84.14 kB / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.1566, allocations: 0 / 361.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1566, allocations: 25.66 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.1568, allocations: 318.8 kB / 362.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.1569, allocations: 4 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.1569, allocations: 23.44 kB / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.157, allocations: 35.38 kB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.157, allocations: 0 / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.405e-05/0.1571, allocations: 61.47 kB / 362.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1571, allocations: 8 kB / 362.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1571, allocations: 3.938 kB / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1571, allocations: 0 / 362.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.1572, allocations: 11.98 kB / 362.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.1572, allocations: 4.125 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.52e-05/0.1572, allocations: 8 kB / 362.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.1572, allocations: 0 / 362.4 MB, free: 9.637 MB / 302.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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.948e-05/0.1573, allocations: 117.7 kB / 362.5 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.1574, allocations: 57.62 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.1575, allocations: 11.83 kB / 362.5 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1575, allocations: 4 kB / 362.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1575, allocations: 0 / 362.5 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1575, allocations: 4 kB / 362.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.1576, allocations: 153.7 kB / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1576, allocations: 0 / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.911e-05/0.1577, allocations: 11.98 kB / 362.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1577, allocations: 3.938 kB / 362.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1577, allocations: 4.188 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1577, allocations: 4 kB / 362.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1577, allocations: 0 / 362.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1579, allocations: 92.95 kB / 362.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.158, allocations: 81.48 kB / 362.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.158, allocations: 7.938 kB / 362.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.158, allocations: 0 / 362.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-06/0.1581, allocations: 0 / 362.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1581, allocations: 4 kB / 362.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.37e-05/0.1581, allocations: 83.27 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 0 / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001956/0.1583, allocations: 8 kB / 363 MB, free: 8.891 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 (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.0001199/0.1585, allocations: 99.25 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.1586, allocations: 27.91 kB / 363.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1586, allocations: 0 / 363.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.1586, allocations: 4 kB / 363.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.1588, allocations: 27.25 kB / 363.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.1592, allocations: 125.6 kB / 363.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.1595, allocations: 0.6846 MB / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.407e-05/0.1595, allocations: 0 / 364 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.1596, allocations: 11.44 kB / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1596, allocations: 0 / 364 MB, free: 7.859 MB / 302.1 MB Notification: Performance of Templates: time 0.002509/0.1621, allocations: 324.5 kB / 364.3 MB, free: 7.543 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches