Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 113.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 204.7 kB / 18.78 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.626/1.626, allocations: 230.4 MB / 250 MB, free: 9.035 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.84 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3684, allocations: 53.31 MB / 420.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002879/0.3713, allocations: 1.452 MB / 422.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002793/0.3716, allocations: 91.75 kB / 422.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.3716, allocations: 0 / 422.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.3717, allocations: 11.86 kB / 422.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.3717, allocations: 7.922 kB / 422.2 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.372, allocations: 19.92 kB / 422.2 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.606e-05/0.372, allocations: 20 kB / 422.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.3721, allocations: 11.97 kB / 422.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.3722, allocations: 15.88 kB / 422.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.3722, allocations: 11.92 kB / 422.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3722, allocations: 4 kB / 422.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.3722, allocations: 4 kB / 422.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.3723, allocations: 11.94 kB / 422.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.097e-05/0.3723, allocations: 7.938 kB / 422.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.732e-05/0.3724, allocations: 27.89 kB / 422.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3724, allocations: 0 / 422.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3724, allocations: 0 / 422.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3724, allocations: 0 / 422.3 MB, free: 6.672 MB / 334.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.0004713/0.3729, allocations: 350.2 kB / 422.7 MB, free: 6.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3729, allocations: 8.031 kB / 422.7 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.3729, allocations: 8.891 kB / 422.7 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3732, allocations: 176.3 kB / 422.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3732, allocations: 384 / 422.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3732, allocations: 8.375 kB / 422.9 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.3735, allocations: 107.8 kB / 423 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3735, allocations: 8.125 kB / 423 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3736, allocations: 3.938 kB / 423 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3736, allocations: 0 / 423 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.3736, allocations: 19.98 kB / 423 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3738, allocations: 153.6 kB / 423.2 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.374, allocations: 58.48 kB / 423.2 MB, free: 5.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.802e-05/0.374, allocations: 24.92 kB / 423.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.374, allocations: 0 / 423.3 MB, free: 5.609 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3741, allocations: 34.56 kB / 423.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3741, allocations: 3.938 kB / 423.3 MB, free: 5.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002168/0.3743, allocations: 69.61 kB / 423.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.3744, allocations: 51.41 kB / 423.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.3745, allocations: 113.8 kB / 423.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3745, allocations: 29.7 kB / 423.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.3745, allocations: 84.14 kB / 423.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.724e-06/0.3745, allocations: 0 / 423.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.3746, allocations: 21.7 kB / 423.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3747, allocations: 314.8 kB / 424 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.3747, allocations: 4 kB / 424 MB, free: 4.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.3748, allocations: 39.3 kB / 424 MB, free: 4.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.3748, allocations: 27.44 kB / 424 MB, free: 4.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3748, allocations: 0 / 424 MB, free: 4.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.623e-05/0.3749, allocations: 65.89 kB / 424.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3749, allocations: 10.66 kB / 424.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3749, allocations: 3.938 kB / 424.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3749, allocations: 0 / 424.1 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.375, allocations: 8 kB / 424.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.375, allocations: 256 / 424.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.375, allocations: 7.984 kB / 424.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.375, allocations: 8 kB / 424.1 MB, free: 4.641 MB / 334.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 9.643e-05/0.3751, allocations: 109.8 kB / 424.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3752, allocations: 65.64 kB / 424.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/0.3753, allocations: 11.84 kB / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3753, allocations: 0 / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3753, allocations: 0 / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3753, allocations: 0 / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.3754, allocations: 153.7 kB / 424.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3754, allocations: 3.984 kB / 424.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.3755, allocations: 8 kB / 424.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3755, allocations: 0 / 424.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3755, allocations: 3.938 kB / 424.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3755, allocations: 7.938 kB / 424.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3755, allocations: 0 / 424.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.3756, allocations: 89 kB / 424.6 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.3757, allocations: 81.11 kB / 424.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3757, allocations: 7.938 kB / 424.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.411e-05/0.3757, allocations: 3.984 kB / 424.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.3757, allocations: 0 / 424.7 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3757, allocations: 8 kB / 424.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.559e-05/0.3758, allocations: 79.28 kB / 424.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3758, allocations: 0 / 424.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.376, allocations: 8 kB / 424.8 MB, free: 3.898 MB / 334.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.0001087/0.3761, allocations: 95.25 kB / 424.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.3762, allocations: 27.92 kB / 424.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3762, allocations: 0 / 424.9 MB, free: 3.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.12e-07/0.3762, allocations: 4.25 kB / 424.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002162/0.3764, allocations: 20.02 kB / 424.9 MB, free: 3.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002954/0.3767, allocations: 113.5 kB / 425 MB, free: 3.609 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.377, allocations: 0.6807 MB / 425.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.3771, allocations: 3.984 kB / 425.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.3771, allocations: 15.38 kB / 425.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3771, allocations: 0 / 425.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of Templates: time 0.002579/0.3797, allocations: 331.5 kB / 426 MB, free: 2.57 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches