Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 108.3 kB / 17.74 MB, free: 5.359 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.00173/0.00173, allocations: 191 kB / 18.67 MB, free: 4.434 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.447/1.447, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 47.94 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002849/0.3526, allocations: 1.43 MB / 402.8 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003115/0.353, allocations: 99.67 kB / 402.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.3531, allocations: 3.938 kB / 402.9 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.497e-05/0.3531, allocations: 7.922 kB / 402.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.3532, allocations: 3.938 kB / 402.9 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3535, allocations: 31.52 kB / 403 MB, free: 7.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.961e-05/0.3536, allocations: 23.94 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3537, allocations: 15.98 kB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.3537, allocations: 7.938 kB / 403 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.3538, allocations: 15.92 kB / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3538, allocations: 0 / 403 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.263e-05/0.3538, allocations: 4 kB / 403 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.3538, allocations: 4 kB / 403 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.3539, allocations: 11.88 kB / 403.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.561e-05/0.354, allocations: 31.89 kB / 403.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.354, allocations: 4 kB / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.354, allocations: 0 / 403.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.354, allocations: 0 / 403.1 MB, free: 7.199 MB / 318.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.0004477/0.3545, allocations: 340.7 kB / 403.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3545, allocations: 11.89 kB / 403.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.3545, allocations: 4.938 kB / 403.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3548, allocations: 180.1 kB / 403.6 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.3548, allocations: 4.375 kB / 403.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3548, allocations: 384 / 403.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.3551, allocations: 115.8 kB / 403.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.3551, allocations: 192 / 403.7 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3552, allocations: 3.938 kB / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3552, allocations: 0 / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.3553, allocations: 19.98 kB / 403.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.3554, allocations: 153.7 kB / 403.9 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.3556, allocations: 58.58 kB / 404 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.3557, allocations: 20.89 kB / 404 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3557, allocations: 11.92 kB / 404 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3557, allocations: 34.5 kB / 404 MB, free: 6.094 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3557, allocations: 0 / 404 MB, free: 6.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002336/0.356, allocations: 77.52 kB / 404.1 MB, free: 6.012 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.356, allocations: 51.41 kB / 404.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.3561, allocations: 105.8 kB / 404.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3561, allocations: 25.7 kB / 404.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3562, allocations: 88.14 kB / 404.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.3562, allocations: 0 / 404.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.3562, allocations: 21.7 kB / 404.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3564, allocations: 314.8 kB / 404.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.3564, allocations: 11.94 kB / 404.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.3564, allocations: 27.38 kB / 404.7 MB, free: 5.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.783e-05/0.3565, allocations: 35.42 kB / 404.8 MB, free: 5.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3565, allocations: 3.938 kB / 404.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.241e-05/0.3566, allocations: 49.92 kB / 404.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.3566, allocations: 11.98 kB / 404.8 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3566, allocations: 3.938 kB / 404.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3566, allocations: 0 / 404.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.3567, allocations: 8 kB / 404.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3567, allocations: 0 / 404.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.3567, allocations: 4 kB / 404.9 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.3567, allocations: 8.359 kB / 404.9 MB, free: 5.18 MB / 318.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.852e-05/0.3568, allocations: 121.8 kB / 405 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.357, allocations: 61.58 kB / 405 MB, free: 4.984 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.357, allocations: 11.84 kB / 405 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.357, allocations: 0 / 405 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.357, allocations: 0 / 405 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.357, allocations: 0 / 405 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.3571, allocations: 153.7 kB / 405.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3571, allocations: 0 / 405.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.3572, allocations: 15.98 kB / 405.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3572, allocations: 0 / 405.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3572, allocations: 3.938 kB / 405.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3572, allocations: 3.984 kB / 405.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3572, allocations: 0 / 405.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.3574, allocations: 88.98 kB / 405.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.3575, allocations: 88.95 kB / 405.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3575, allocations: 7.938 kB / 405.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.529e-05/0.3575, allocations: 4 kB / 405.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-06/0.3575, allocations: 0 / 405.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.3575, allocations: 7.984 kB / 405.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.3576, allocations: 79.28 kB / 405.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3576, allocations: 0 / 405.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.3578, allocations: 8 kB / 405.5 MB, free: 4.426 MB / 318.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.0001077/0.3579, allocations: 99.19 kB / 405.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.358, allocations: 31.92 kB / 405.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.358, allocations: 0 / 405.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.358, allocations: 0 / 405.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.3583, allocations: 19.98 kB / 405.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.3586, allocations: 135.3 kB / 405.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.3588, allocations: 0.6883 MB / 406.5 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.3589, allocations: 15.62 kB / 406.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3589, allocations: 7.938 kB / 406.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of Templates: time 0.001872/0.3608, allocations: 0.5472 MB / 407 MB, free: 2.816 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches