Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 111.6 kB / 17.06 MB, free: 6 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.001291/0.001291, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.51/1.51, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 51.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3813, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003331/0.3847, allocations: 1.437 MB / 402.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.385, allocations: 31.84 kB / 402.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.3851, allocations: 0 / 402.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.3852, allocations: 7.938 kB / 402.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.3852, allocations: 0 / 402.2 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.3855, allocations: 19.97 kB / 402.2 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.3857, allocations: 27.92 kB / 402.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.3858, allocations: 15.98 kB / 402.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.3859, allocations: 11.94 kB / 402.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.3859, allocations: 11.92 kB / 402.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.386, allocations: 4 kB / 402.3 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.646e-05/0.386, allocations: 4 kB / 402.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.386, allocations: 7.984 kB / 402.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.3861, allocations: 15.88 kB / 402.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3862, allocations: 35.83 kB / 402.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.3862, allocations: 0 / 402.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.3863, allocations: 0 / 402.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.3863, allocations: 0 / 402.3 MB, free: 7.262 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.0007108/0.387, allocations: 351.3 kB / 402.7 MB, free: 6.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.3871, allocations: 11.89 kB / 402.7 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.3871, allocations: 4.938 kB / 402.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.3875, allocations: 180.3 kB / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.3875, allocations: 384 / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3876, allocations: 4.375 kB / 402.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.388, allocations: 123.8 kB / 403 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.388, allocations: 192 / 403 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.3881, allocations: 3.938 kB / 403 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.3881, allocations: 3.938 kB / 403 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3882, allocations: 31.86 kB / 403 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002285/0.3884, allocations: 157.7 kB / 403.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3886, allocations: 54.58 kB / 403.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.101e-05/0.3887, allocations: 28.89 kB / 403.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.3888, allocations: 0 / 403.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.3888, allocations: 30.56 kB / 403.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3888, allocations: 0 / 403.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003523/0.3892, allocations: 85.53 kB / 403.4 MB, free: 6.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.3893, allocations: 63.31 kB / 403.5 MB, free: 5.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3894, allocations: 101.8 kB / 403.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.3894, allocations: 33.7 kB / 403.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.3895, allocations: 84.14 kB / 403.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3895, allocations: 3.984 kB / 403.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.3896, allocations: 17.72 kB / 403.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3897, allocations: 314.8 kB / 404 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.3897, allocations: 4 kB / 404 MB, free: 5.383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.119e-05/0.3898, allocations: 31.42 kB / 404 MB, free: 5.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.828e-05/0.3899, allocations: 39.38 kB / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3899, allocations: 0 / 404.1 MB, free: 5.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.484e-05/0.39, allocations: 61.56 kB / 404.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.39, allocations: 8.125 kB / 404.1 MB, free: 5.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.39, allocations: 7.938 kB / 404.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.39, allocations: 192 / 404.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.246e-05/0.3901, allocations: 8.375 kB / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.3902, allocations: 0 / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.3902, allocations: 7.906 kB / 404.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3902, allocations: 11.97 kB / 404.2 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.3903, allocations: 113.8 kB / 404.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.3905, allocations: 65.61 kB / 404.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.3906, allocations: 15.84 kB / 404.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3906, allocations: 3.938 kB / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3906, allocations: 0 / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3906, allocations: 0 / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.3908, allocations: 157.7 kB / 404.5 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3908, allocations: 4 kB / 404.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.089e-05/0.3908, allocations: 4 kB / 404.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3909, allocations: 4 kB / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.3909, allocations: 7.922 kB / 404.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3909, allocations: 3.938 kB / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3909, allocations: 0 / 404.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.3911, allocations: 96.95 kB / 404.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.3912, allocations: 77.11 kB / 404.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3912, allocations: 11.94 kB / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.3912, allocations: 3.984 kB / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-06/0.3912, allocations: 4 kB / 404.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.3913, allocations: 0 / 404.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.348e-05/0.3913, allocations: 83.28 kB / 404.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3913, allocations: 4 kB / 404.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3916, allocations: 4 kB / 404.8 MB, free: 4.418 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: 4 (assignClock1.u,assignClock1.y,step.y,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 (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.0001837/0.3917, allocations: 104.4 kB / 404.9 MB, free: 4.309 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001781/0.3919, allocations: 31.92 kB / 405 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3919, allocations: 0 / 405 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.3919, allocations: 0 / 405 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.3923, allocations: 27.08 kB / 405 MB, free: 4.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.3926, allocations: 121.9 kB / 405.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.393, allocations: 0.6883 MB / 405.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.892e-05/0.393, allocations: 0 / 405.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.393, allocations: 11.44 kB / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3931, allocations: 0 / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of Templates: time 0.003085/0.3961, allocations: 436.5 kB / 406.2 MB, free: 2.957 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches