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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000781/0.000781, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003215/0.003215, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.7974/0.7974, allocations: 173.4 MB / 201.2 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.365e-05, allocations: 2.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.00192/0.001944, allocations: 1.421 MB / 321.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002361/0.00218, allocations: 103.6 kB / 321.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.002237, allocations: 7.875 kB / 321.2 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.002264, allocations: 3.938 kB / 321.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.143e-05/0.002296, allocations: 0 / 321.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.002503, allocations: 31.91 kB / 321.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.586e-05/0.002579, allocations: 23.92 kB / 321.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/0.002674, allocations: 11.98 kB / 321.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.002716, allocations: 15.92 kB / 321.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.00276, allocations: 11.98 kB / 321.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.002783, allocations: 0 / 321.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.002791, allocations: 4 kB / 321.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.002809, allocations: 7.938 kB / 321.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.002831, allocations: 4 kB / 321.3 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.963e-05/0.00291, allocations: 31.89 kB / 321.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.002912, allocations: 0 / 321.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002913, allocations: 0 / 321.4 MB, free: 4.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.002917, allocations: 3.938 kB / 321.4 MB, free: 4.145 MB / 282.7 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.0003132/0.00323, allocations: 278.2 kB / 321.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.003264, allocations: 12.03 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.003292, allocations: 0.9375 kB / 321.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.003441, allocations: 117.7 kB / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.00345, allocations: 384 / 321.8 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.00346, allocations: 8.375 kB / 321.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.003678, allocations: 103.9 kB / 321.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003686, allocations: 4.188 kB / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.003694, allocations: 384 / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003699, allocations: 384 / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.255e-05/0.003751, allocations: 23.92 kB / 321.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.622e-05/0.003837, allocations: 105.3 kB / 322 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.961e-05/0.003937, allocations: 54.48 kB / 322.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.003974, allocations: 24.92 kB / 322.1 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.003991, allocations: 4 kB / 322.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.004008, allocations: 30.56 kB / 322.1 MB, free: 3.273 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.004009, allocations: 4 kB / 322.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001608/0.00417, allocations: 77.7 kB / 322.2 MB, free: 3.188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.004205, allocations: 55.44 kB / 322.3 MB, free: 3.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.004259, allocations: 109.8 kB / 322.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.188e-06/0.004268, allocations: 25.7 kB / 322.4 MB, free: 2.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.004295, allocations: 84.14 kB / 322.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.004297, allocations: 4 kB / 322.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.004313, allocations: 9.719 kB / 322.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.004382, allocations: 314.8 kB / 322.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-06/0.004386, allocations: 7.938 kB / 322.8 MB, free: 2.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.004389, allocations: 4 kB / 322.8 MB, free: 2.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.829e-05/0.004408, allocations: 75.28 kB / 322.9 MB, free: 2.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.004423, allocations: 75.28 kB / 322.9 MB, free: 2.391 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.991e-05/0.004453, allocations: 33.7 kB / 323 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.00448, allocations: 83.22 kB / 323.1 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.004497, allocations: 75.28 kB / 323.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.891e-05/0.004536, allocations: 154.6 kB / 323.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.004552, allocations: 79.22 kB / 323.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.004583, allocations: 154.5 kB / 323.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.004628, allocations: 91.09 kB / 323.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.004644, allocations: 83.27 kB / 323.7 MB, free: 1.641 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.632e-05/0.00471, allocations: 185.1 kB / 323.9 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.004779, allocations: 57.64 kB / 323.9 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.507e-05/0.004804, allocations: 11.98 kB / 323.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004805, allocations: 0 / 323.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.00481, allocations: 256 / 323.9 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004813, allocations: 7.938 kB / 323.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.413e-05/0.004857, allocations: 105.3 kB / 324 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.004861, allocations: 7.984 kB / 324.1 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.463e-05/0.004915, allocations: 11.94 kB / 324.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.004918, allocations: 0 / 324.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.004925, allocations: 4 kB / 324.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.004927, allocations: 0 / 324.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004927, allocations: 0 / 324.1 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.032e-05/0.004998, allocations: 81.05 kB / 324.1 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.005007, allocations: 11.95 kB / 324.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-06/0.005015, allocations: 0 / 324.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.717e-06/0.005024, allocations: 0 / 324.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-06/0.005027, allocations: 3.984 kB / 324.2 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.005032, allocations: 8 kB / 324.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.384e-05/0.005055, allocations: 83.28 kB / 324.3 MB, free: 1 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005055, allocations: 0 / 324.3 MB, free: 1 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001327/0.005188, allocations: 0 / 324.3 MB, free: 1 MB / 282.7 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 6.989e-05/0.005258, allocations: 103.1 kB / 324.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.571e-05/0.005314, allocations: 19.98 kB / 324.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005315, allocations: 0 / 324.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.005316, allocations: 0 / 324.4 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.005484, allocations: 24.02 kB / 324.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.005693, allocations: 137.6 kB / 324.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.005731, allocations: 67.28 kB / 324.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.889e-05/0.005749, allocations: 12.44 kB / 324.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of SimCode: time 3.5e-07/0.00575, allocations: 0 / 324.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of Templates: time 0.00126/0.00701, allocations: 0.5278 MB / 325.1 MB, free: 60 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7033738708123565]