Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 112 kB / 17.07 MB, free: 5.945 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.001456/0.001456, allocations: 196 kB / 18.01 MB, free: 5.035 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.504/1.504, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4676, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003751/0.4714, allocations: 1.512 MB / 402.2 MB, free: 7.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005412/0.472, allocations: 139.5 kB / 402.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.4721, allocations: 3.938 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.253e-05/0.4722, allocations: 3.938 kB / 402.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.4724, allocations: 11.92 kB / 402.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.4727, allocations: 39.91 kB / 402.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.4729, allocations: 35.92 kB / 402.5 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.473, allocations: 11.98 kB / 402.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.747e-05/0.4731, allocations: 11.94 kB / 402.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.846e-05/0.4731, allocations: 19.84 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.4731, allocations: 4 kB / 402.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.4732, allocations: 4 kB / 402.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.4732, allocations: 15.92 kB / 402.5 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/0.4733, allocations: 23.88 kB / 402.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.4734, allocations: 51.75 kB / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4734, allocations: 0 / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4735, allocations: 0 / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.4735, allocations: 0 / 402.6 MB, free: 6.984 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005363/0.474, allocations: 368.3 kB / 403 MB, free: 6.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4741, allocations: 8.031 kB / 403 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.4741, allocations: 12.78 kB / 403 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4744, allocations: 196.2 kB / 403.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.4745, allocations: 384 / 403.2 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.4745, allocations: 4.375 kB / 403.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.4748, allocations: 113.6 kB / 403.3 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4748, allocations: 4.125 kB / 403.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4749, allocations: 7.938 kB / 403.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.4749, allocations: 0 / 403.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.475, allocations: 19.98 kB / 403.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.4753, allocations: 257.8 kB / 403.6 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.4756, allocations: 146.2 kB / 403.7 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.79e-05/0.4757, allocations: 29.77 kB / 403.7 MB, free: 5.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4757, allocations: 3.984 kB / 403.7 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.4757, allocations: 30.56 kB / 403.8 MB, free: 5.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4757, allocations: 3.938 kB / 403.8 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002625/0.476, allocations: 77.58 kB / 403.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.4761, allocations: 89.03 kB / 403.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4763, allocations: 130.1 kB / 404.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.4763, allocations: 25.7 kB / 404.1 MB, free: 5.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.4764, allocations: 95.98 kB / 404.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.4764, allocations: 0 / 404.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.4764, allocations: 21.7 kB / 404.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.4766, allocations: 319 kB / 404.5 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.875e-05/0.4766, allocations: 8 kB / 404.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.825e-05/0.4767, allocations: 35.42 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.4768, allocations: 51.36 kB / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4768, allocations: 0 / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.4769, allocations: 69.45 kB / 404.7 MB, free: 4.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4769, allocations: 8 kB / 404.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.477, allocations: 0 / 404.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.477, allocations: 0 / 404.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.4771, allocations: 11.94 kB / 404.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4771, allocations: 4.125 kB / 404.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.4771, allocations: 7.984 kB / 404.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4771, allocations: 4 kB / 404.7 MB, free: 4.566 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 0.0001883/0.4773, allocations: 117.8 kB / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.4774, allocations: 57.53 kB / 404.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.248e-05/0.4774, allocations: 8.25 kB / 404.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4775, allocations: 0 / 404.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4775, allocations: 0 / 404.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4775, allocations: 0 / 404.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.4777, allocations: 181.5 kB / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4777, allocations: 0 / 405.1 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.062e-05/0.4778, allocations: 19.92 kB / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4778, allocations: 0 / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.4778, allocations: 0 / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4778, allocations: 0 / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4778, allocations: 0 / 405.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.478, allocations: 176.2 kB / 405.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.4781, allocations: 85.09 kB / 405.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.4781, allocations: 0 / 405.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.751e-05/0.4782, allocations: 4 kB / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.4782, allocations: 0 / 405.3 MB, free: 3.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.4782, allocations: 11.94 kB / 405.4 MB, free: 3.809 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.4783, allocations: 106.6 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4783, allocations: 0 / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.4785, allocations: 8 kB / 405.5 MB, free: 3.699 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0001289/0.4787, allocations: 107.2 kB / 405.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.4788, allocations: 27.92 kB / 405.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.4789, allocations: 0 / 405.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.4789, allocations: 7.984 kB / 405.6 MB, free: 3.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.4792, allocations: 27.52 kB / 405.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.4796, allocations: 158.7 kB / 405.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.48, allocations: 0.6922 MB / 406.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.022e-05/0.48, allocations: 3.984 kB / 406.5 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.4801, allocations: 11.44 kB / 406.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4801, allocations: 3.938 kB / 406.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of Templates: time 0.003663/0.4837, allocations: 0.4909 MB / 407 MB, free: 2.117 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches