Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 110 kB / 17.06 MB, free: 6.02 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.001319/0.001319, allocations: 191 kB / 18 MB, free: 5.109 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.679/1.679, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3595, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003644/0.3632, allocations: 1.49 MB / 402.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000527/0.3637, allocations: 143.5 kB / 402.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.841e-05/0.3638, allocations: 0 / 402.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.382e-05/0.3639, allocations: 3.938 kB / 402.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.3641, allocations: 3.938 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.3644, allocations: 39.89 kB / 402.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.3645, allocations: 27.92 kB / 402.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3646, allocations: 12 kB / 402.4 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.538e-05/0.3647, allocations: 15.92 kB / 402.4 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.302e-05/0.3648, allocations: 7.938 kB / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3648, allocations: 0 / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.504e-05/0.3648, allocations: 4 kB / 402.5 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.3649, allocations: 15.92 kB / 402.5 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.3649, allocations: 19.81 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.3651, allocations: 39.83 kB / 402.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3651, allocations: 0 / 402.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3651, allocations: 0 / 402.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3651, allocations: 0 / 402.5 MB, free: 7.043 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006717/0.3658, allocations: 364.4 kB / 402.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.3659, allocations: 12.03 kB / 402.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3659, allocations: 4.844 kB / 402.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.3663, allocations: 192.1 kB / 403.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.3663, allocations: 4.375 kB / 403.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3663, allocations: 4.375 kB / 403.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.3666, allocations: 85.61 kB / 403.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3666, allocations: 4.188 kB / 403.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3666, allocations: 3.938 kB / 403.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3667, allocations: 0 / 403.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.3667, allocations: 12 kB / 403.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.3672, allocations: 265.6 kB / 403.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.123e-05/0.3673, allocations: 45.16 kB / 403.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.3674, allocations: 21.75 kB / 403.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3674, allocations: 4 kB / 403.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.3675, allocations: 34.5 kB / 403.6 MB, free: 5.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.3675, allocations: 4 kB / 403.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002679/0.3678, allocations: 53.62 kB / 403.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.3679, allocations: 81.11 kB / 403.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.368, allocations: 133.1 kB / 403.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3681, allocations: 25.7 kB / 403.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.3681, allocations: 84.05 kB / 403.9 MB, free: 5.406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.3682, allocations: 8.25 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.3682, allocations: 21.7 kB / 404 MB, free: 5.371 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3684, allocations: 314.8 kB / 404.3 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.3685, allocations: 4 kB / 404.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.3685, allocations: 17.7 kB / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.614e-05/0.3686, allocations: 29.66 kB / 404.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3686, allocations: 4 kB / 404.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.978e-05/0.3687, allocations: 53.53 kB / 404.4 MB, free: 4.93 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.3687, allocations: 4 kB / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3687, allocations: 0 / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3688, allocations: 0 / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.102e-05/0.3688, allocations: 4 kB / 404.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3688, allocations: 3.938 kB / 404.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.638e-05/0.3688, allocations: 0 / 404.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3688, allocations: 8 kB / 404.4 MB, free: 4.91 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001088/0.369, allocations: 121.8 kB / 404.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.369, allocations: 33.7 kB / 404.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.3691, allocations: 11.52 kB / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3691, allocations: 0 / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3691, allocations: 0 / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3691, allocations: 0 / 404.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.3692, allocations: 173.6 kB / 404.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3693, allocations: 0 / 404.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.991e-06/0.3693, allocations: 4.031 kB / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3693, allocations: 0 / 404.7 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.3693, allocations: 3.984 kB / 404.7 MB, free: 4.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3693, allocations: 4 kB / 404.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3693, allocations: 3.938 kB / 404.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3695, allocations: 152.2 kB / 404.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.3695, allocations: 93.03 kB / 405 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.3695, allocations: 4 kB / 405 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/0.3696, allocations: 0 / 405 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.3697, allocations: 0 / 405 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.3697, allocations: 4 kB / 405 MB, free: 4.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.3697, allocations: 99.27 kB / 405.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3698, allocations: 0 / 405.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.37, allocations: 4 kB / 405.1 MB, free: 4.105 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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001145/0.3701, allocations: 108 kB / 405.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.3703, allocations: 23.94 kB / 405.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3703, allocations: 0 / 405.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.3703, allocations: 7.984 kB / 405.2 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.3706, allocations: 19.91 kB / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.371, allocations: 142.3 kB / 405.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3713, allocations: 0.6886 MB / 406.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.829e-05/0.3713, allocations: 0 / 406.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.3713, allocations: 15.42 kB / 406.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3713, allocations: 0 / 406.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of Templates: time 0.003158/0.3745, allocations: 441.8 kB / 406.5 MB, free: 2.617 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches