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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.726/1.726, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 106.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007801/0.0007802, allocations: 39.94 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2973, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002791/0.3001, allocations: 1.486 MB / 401 MB, free: 31.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002408/0.3004, allocations: 103.7 kB / 401.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.3005, allocations: 0 / 401.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.274e-05/0.3005, allocations: 1.25 kB / 401.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.682e-05/0.3006, allocations: 7.938 kB / 401.1 MB, free: 31.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.3008, allocations: 11.98 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.3009, allocations: 31.83 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.301, allocations: 4 kB / 401.1 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.3011, allocations: 19.91 kB / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.728e-05/0.3011, allocations: 11.94 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3012, allocations: 0 / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3012, allocations: 4 kB / 401.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.3012, allocations: 7.922 kB / 401.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.3012, allocations: 11.94 kB / 401.2 MB, free: 31.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.758e-05/0.3013, allocations: 23.91 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3013, allocations: 0 / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3013, allocations: 4 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3014, allocations: 0 / 401.2 MB, free: 31.66 MB / 298.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.0003799/0.3017, allocations: 341.1 kB / 401.5 MB, free: 31.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3018, allocations: 8.031 kB / 401.5 MB, free: 31.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.3018, allocations: 16.83 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.302, allocations: 176.2 kB / 401.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.302, allocations: 4.359 kB / 401.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.302, allocations: 4.375 kB / 401.7 MB, free: 31.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.3023, allocations: 107.9 kB / 401.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3024, allocations: 192 / 401.8 MB, free: 30.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3024, allocations: 7.922 kB / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3024, allocations: 0 / 401.9 MB, free: 30.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.3025, allocations: 19.98 kB / 401.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.3026, allocations: 161.6 kB / 402 MB, free: 30.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.3028, allocations: 50.55 kB / 402.1 MB, free: 30.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.3028, allocations: 28.86 kB / 402.1 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3029, allocations: 0 / 402.1 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3029, allocations: 34.5 kB / 402.1 MB, free: 30.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.041e-06/0.3029, allocations: 4 kB / 402.1 MB, free: 30.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000245/0.3032, allocations: 73.61 kB / 402.2 MB, free: 30.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3032, allocations: 55.39 kB / 402.3 MB, free: 30.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.3033, allocations: 105.9 kB / 402.4 MB, free: 30.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.3033, allocations: 29.64 kB / 402.4 MB, free: 30.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.3034, allocations: 84.12 kB / 402.5 MB, free: 30.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.055e-05/0.3034, allocations: 4 kB / 402.5 MB, free: 30.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.3034, allocations: 17.66 kB / 402.5 MB, free: 30.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.3035, allocations: 322.8 kB / 402.8 MB, free: 29.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.3035, allocations: 3.984 kB / 402.8 MB, free: 29.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.3035, allocations: 23.44 kB / 402.8 MB, free: 29.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.751e-05/0.3036, allocations: 39.38 kB / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3036, allocations: 0 / 402.9 MB, free: 29.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.235e-05/0.3036, allocations: 53.62 kB / 402.9 MB, free: 29.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3037, allocations: 4 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3037, allocations: 7.938 kB / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3037, allocations: 0 / 402.9 MB, free: 29.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.641e-05/0.3038, allocations: 8 kB / 403 MB, free: 29.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3038, allocations: 3.984 kB / 403 MB, free: 29.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.3038, allocations: 12.03 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3038, allocations: 7.938 kB / 403 MB, free: 29.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * 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 6.095e-05/0.3039, allocations: 114 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.304, allocations: 57.69 kB / 403.1 MB, free: 29.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.304, allocations: 7.844 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.304, allocations: 0 / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.304, allocations: 4 kB / 403.2 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.304, allocations: 7.984 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.673e-05/0.3041, allocations: 157.7 kB / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3041, allocations: 0 / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.3042, allocations: 4 kB / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3042, allocations: 0 / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3042, allocations: 7.938 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3042, allocations: 3.984 kB / 403.3 MB, free: 29.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3042, allocations: 4.266 kB / 403.3 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.3045, allocations: 0.6512 MB / 404 MB, free: 28.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.3046, allocations: 84.98 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3046, allocations: 0 / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.3046, allocations: 4 kB / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.3046, allocations: 0 / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3046, allocations: 0 / 404.1 MB, free: 28.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.3047, allocations: 87.27 kB / 404.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3047, allocations: 4 kB / 404.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003091/0.305, allocations: 4 kB / 404.2 MB, free: 28.28 MB / 298.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 8.367e-05/0.3051, allocations: 103.2 kB / 404.3 MB, free: 28.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.72e-05/0.3052, allocations: 23.92 kB / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3052, allocations: 0 / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.3052, allocations: 3.938 kB / 404.3 MB, free: 28.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3054, allocations: 27.95 kB / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002969/0.3057, allocations: 226.4 kB / 404.5 MB, free: 27.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3059, allocations: 0.6848 MB / 405.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.3059, allocations: 4 kB / 405.2 MB, free: 27.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.3059, allocations: 7.438 kB / 405.2 MB, free: 27.13 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3059, allocations: 0 / 405.2 MB, free: 27.13 MB / 298.7 MB Notification: Performance of Templates: time 0.002112/0.308, allocations: 313.3 kB / 405.6 MB, free: 26.82 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches