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.001317/0.001317, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 61.39 kB / 307.6 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08099/0.08222, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002586/0.08484, allocations: 1.433 MB / 359.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000241/0.0851, allocations: 101.4 kB / 359.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.612e-05/0.08517, allocations: 4 kB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.08521, allocations: 0 / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.241e-05/0.08526, allocations: 7.922 kB / 359.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.08548, allocations: 19.92 kB / 359.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.08555, allocations: 23.88 kB / 359.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.894e-05/0.08566, allocations: 27.95 kB / 359.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.356e-05/0.08569, allocations: 4 kB / 359.8 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.08573, allocations: 11.92 kB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.08575, allocations: 4 kB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.08576, allocations: 0 / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.08579, allocations: 15.88 kB / 359.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.08582, allocations: 7.938 kB / 359.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.042e-05/0.0859, allocations: 31.89 kB / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.08591, allocations: 0 / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08591, allocations: 0 / 359.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.08592, allocations: 0 / 359.8 MB, free: 12.44 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.0003749/0.0863, allocations: 351.7 kB / 360.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.08634, allocations: 8.031 kB / 360.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.08638, allocations: 8.844 kB / 360.2 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.08654, allocations: 172.4 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-06/0.08655, allocations: 384 / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.08657, allocations: 8.375 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.08686, allocations: 107.7 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.08687, allocations: 4.125 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.08689, allocations: 11.92 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.0869, allocations: 0 / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.08698, allocations: 15.98 kB / 360.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.08712, allocations: 153.7 kB / 360.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.08728, allocations: 58.55 kB / 360.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.08735, allocations: 24.92 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.08737, allocations: 0 / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.0874, allocations: 34.5 kB / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.0874, allocations: 0 / 360.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002025/0.08761, allocations: 69.61 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.08766, allocations: 59.41 kB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.08775, allocations: 109.8 kB / 361 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.08777, allocations: 25.7 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.063e-05/0.08781, allocations: 80.14 kB / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.08782, allocations: 0 / 361.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.08786, allocations: 17.72 kB / 361.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.08797, allocations: 322.8 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.08799, allocations: 4 kB / 361.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.08802, allocations: 27.38 kB / 361.5 MB, free: 10.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.08807, allocations: 39.36 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08807, allocations: 0 / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.427e-05/0.08816, allocations: 57.55 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.08818, allocations: 6.812 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.0882, allocations: 7.922 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.08821, allocations: 4 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.08827, allocations: 4 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.08828, allocations: 4 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.0883, allocations: 4.281 kB / 361.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.08831, allocations: 7.938 kB / 361.6 MB, free: 10.42 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 6.748e-05/0.08839, allocations: 121.8 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.08852, allocations: 65.66 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.08856, allocations: 7.844 kB / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.08857, allocations: 0 / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.08858, allocations: 0 / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.08859, allocations: 256 / 361.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.353e-05/0.08867, allocations: 157.6 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.08869, allocations: 4 kB / 362 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.08875, allocations: 11.98 kB / 362 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.08876, allocations: 4 kB / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.08877, allocations: 3.938 kB / 362 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.08878, allocations: 4 kB / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.08878, allocations: 0 / 362 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.08893, allocations: 88.95 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.43e-05/0.08897, allocations: 81.11 kB / 362.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.08899, allocations: 3.938 kB / 362.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.59e-05/0.08903, allocations: 8 kB / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-06/0.08904, allocations: 0 / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.08904, allocations: 0 / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.08909, allocations: 87.27 kB / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.08909, allocations: 0 / 362.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.08929, allocations: 4 kB / 362.2 MB, free: 9.668 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 8.476e-05/0.08938, allocations: 95.25 kB / 362.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.08949, allocations: 31.92 kB / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.0895, allocations: 0 / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.08951, allocations: 0 / 362.4 MB, free: 9.535 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.08973, allocations: 23.98 kB / 362.4 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.08999, allocations: 151 kB / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.09023, allocations: 0.677 MB / 363.2 MB, free: 8.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.09026, allocations: 15.44 kB / 363.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.09026, allocations: 0 / 363.2 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Templates: time 0.001635/0.0919, allocations: 0.5623 MB / 363.8 MB, free: 8.051 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 -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