Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 109 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.001188/0.001189, 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.515/1.515, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 51.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4284, allocations: 49.42 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.00496/0.4334, allocations: 1.512 MB / 402.2 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005525/0.434, allocations: 139.5 kB / 402.4 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.4342, allocations: 7.938 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.4344, allocations: 0 / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.4346, allocations: 7.922 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.4351, allocations: 42.59 kB / 402.4 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.4352, allocations: 27.92 kB / 402.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001466/0.4354, allocations: 12 kB / 402.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.4354, allocations: 15.92 kB / 402.5 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.4355, allocations: 7.938 kB / 402.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4355, allocations: 0 / 402.5 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.4356, allocations: 7.938 kB / 402.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.11e-05/0.4356, allocations: 11.98 kB / 402.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.4357, allocations: 15.81 kB / 402.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.4359, allocations: 47.81 kB / 402.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4359, allocations: 0 / 402.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4359, allocations: 0 / 402.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.4359, allocations: 4 kB / 402.6 MB, free: 7.027 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.0006525/0.4366, allocations: 360.4 kB / 402.9 MB, free: 6.629 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.4e-05/0.4367, allocations: 8.031 kB / 402.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.4368, allocations: 8.844 kB / 402.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.4373, allocations: 192.1 kB / 403.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4373, allocations: 4.375 kB / 403.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.4373, allocations: 384 / 403.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.4377, allocations: 85.67 kB / 403.2 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4377, allocations: 4.125 kB / 403.2 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.4377, allocations: 15.92 kB / 403.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4377, allocations: 0 / 403.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.4378, allocations: 8 kB / 403.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.4383, allocations: 265.8 kB / 403.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.4385, allocations: 41.09 kB / 403.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.679e-05/0.4385, allocations: 25.77 kB / 403.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.4386, allocations: 0 / 403.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4386, allocations: 42.44 kB / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 4.188e-06/0.4386, allocations: 0 / 403.6 MB, free: 5.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003034/0.4389, allocations: 65.52 kB / 403.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.439, allocations: 85.05 kB / 403.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.4392, allocations: 130.1 kB / 403.9 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4392, allocations: 25.95 kB / 403.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.4393, allocations: 92.14 kB / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/0.4393, allocations: 0 / 404 MB, free: 5.363 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.4394, allocations: 21.7 kB / 404 MB, free: 5.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4396, allocations: 310.8 kB / 404.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-05/0.4396, allocations: 4 kB / 404.3 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.84e-05/0.4397, allocations: 21.7 kB / 404.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.4397, allocations: 29.77 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4398, allocations: 0 / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.4399, allocations: 61.47 kB / 404.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4399, allocations: 4 kB / 404.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4399, allocations: 0 / 404.4 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.44, allocations: 4 kB / 404.4 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.4401, allocations: 12.05 kB / 404.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.4401, allocations: 0 / 404.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.4401, allocations: 0 / 404.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4401, allocations: 4 kB / 404.5 MB, free: 4.867 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 (step.y,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.0001152/0.4402, allocations: 121.7 kB / 404.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.4403, allocations: 37.59 kB / 404.6 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.4404, allocations: 15.86 kB / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4404, allocations: 0 / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.4404, allocations: 8.031 kB / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4404, allocations: 0 / 404.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.4406, allocations: 169.6 kB / 404.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4406, allocations: 0 / 404.8 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.4407, allocations: 8 kB / 404.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4407, allocations: 0 / 404.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4407, allocations: 4 kB / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.4407, allocations: 0 / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4407, allocations: 3.938 kB / 404.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.4409, allocations: 164.3 kB / 405 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.441, allocations: 93 kB / 405.1 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.441, allocations: 4 kB / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.931e-05/0.4411, allocations: 0 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.4411, allocations: 0 / 405.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.4411, allocations: 4 kB / 405.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.4412, allocations: 106.6 kB / 405.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4412, allocations: 7.969 kB / 405.2 MB, free: 4.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.4415, allocations: 4 kB / 405.2 MB, free: 4.027 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 (step.y,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.0001238/0.4416, allocations: 99.98 kB / 405.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.4418, allocations: 27.92 kB / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4418, allocations: 0 / 405.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.221e-05/0.4418, allocations: 4 kB / 405.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4422, allocations: 24.14 kB / 405.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.4426, allocations: 142.2 kB / 405.5 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4429, allocations: 0.6844 MB / 406.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.045e-05/0.443, allocations: 4 kB / 406.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.443, allocations: 15.42 kB / 406.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.443, allocations: 0 / 406.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of Templates: time 0.003407/0.4464, allocations: 442.8 kB / 406.6 MB, free: 2.539 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches