Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001864/0.001864, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 97.16 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3112, allocations: 50.47 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00319/0.3144, allocations: 1.525 MB / 408.6 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002564/0.3147, allocations: 94.56 kB / 408.7 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.981e-05/0.3148, allocations: 7.938 kB / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.3149, allocations: 0 / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.3149, allocations: 0 / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3152, allocations: 23.91 kB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.725e-05/0.3153, allocations: 23.88 kB / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3154, allocations: 16.47 kB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.3154, allocations: 7.875 kB / 408.8 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.3155, allocations: 15.91 kB / 408.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3155, allocations: 4 kB / 408.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.3155, allocations: 0 / 408.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.3156, allocations: 7.938 kB / 408.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.686e-05/0.3156, allocations: 11.94 kB / 408.8 MB, free: 26.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.593e-05/0.3157, allocations: 27.91 kB / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3157, allocations: 0 / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3157, allocations: 0 / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3157, allocations: 0 / 408.8 MB, free: 26.07 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.0003689/0.3161, allocations: 345 kB / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3162, allocations: 12.59 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.3162, allocations: 4.844 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3163, allocations: 180.3 kB / 409.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.3164, allocations: 4.375 kB / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3164, allocations: 384 / 409.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.3167, allocations: 111.8 kB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3167, allocations: 192 / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3167, allocations: 7.875 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3167, allocations: 7.938 kB / 409.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.3168, allocations: 23.97 kB / 409.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001075/0.3169, allocations: 157.6 kB / 409.7 MB, free: 25.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3171, allocations: 58.58 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/0.3171, allocations: 16.91 kB / 409.7 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.3172, allocations: 7.984 kB / 409.7 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.38e-05/0.3172, allocations: 34.5 kB / 409.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3172, allocations: 0 / 409.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002167/0.3174, allocations: 69.61 kB / 409.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.3175, allocations: 55.41 kB / 409.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.746e-05/0.3175, allocations: 105.8 kB / 410 MB, free: 24.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.3176, allocations: 25.7 kB / 410 MB, free: 24.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.3176, allocations: 88.14 kB / 410.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.3176, allocations: 0 / 410.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.3176, allocations: 17.72 kB / 410.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.3177, allocations: 314.8 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.3177, allocations: 4 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.3177, allocations: 35.38 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.858e-05/0.3178, allocations: 31.38 kB / 410.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3178, allocations: 0 / 410.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.37e-05/0.3178, allocations: 57.62 kB / 410.6 MB, free: 24.08 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3179, allocations: 10.81 kB / 410.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3179, allocations: 3.938 kB / 410.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3179, allocations: 288 / 410.6 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/0.3179, allocations: 11.98 kB / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.318, allocations: 0 / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.318, allocations: 3.906 kB / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.318, allocations: 4 kB / 410.6 MB, free: 24.05 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: 0 () * 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 4.871e-05/0.318, allocations: 127.4 kB / 410.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.3181, allocations: 53.67 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.3182, allocations: 15.83 kB / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3182, allocations: 0 / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3182, allocations: 4 kB / 410.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3182, allocations: 0 / 410.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.989e-05/0.3182, allocations: 153.7 kB / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3183, allocations: 0 / 410.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.076e-05/0.3183, allocations: 11.92 kB / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3183, allocations: 8 kB / 411 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3183, allocations: 3.938 kB / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3183, allocations: 0 / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3183, allocations: 256 / 411 MB, free: 23.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.3186, allocations: 0.6472 MB / 411.6 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.3186, allocations: 81.05 kB / 411.7 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.3186, allocations: 12 kB / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.3187, allocations: 0 / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-06/0.3187, allocations: 0 / 411.7 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3187, allocations: 7.922 kB / 411.7 MB, free: 22.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.533e-05/0.3187, allocations: 87.28 kB / 411.8 MB, free: 22.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3187, allocations: 0 / 411.8 MB, free: 22.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000284/0.319, allocations: 0 / 411.8 MB, free: 22.69 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: 0 () * 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 9.847e-05/0.3191, allocations: 95.25 kB / 411.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.58e-05/0.3192, allocations: 27.98 kB / 411.9 MB, free: 22.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3192, allocations: 0 / 411.9 MB, free: 22.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3192, allocations: 3.938 kB / 411.9 MB, free: 22.56 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3195, allocations: 25.89 kB / 411.9 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.3198, allocations: 234.1 kB / 412.2 MB, free: 22.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.3199, allocations: 0.6851 MB / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.126e-05/0.3199, allocations: 0 / 412.9 MB, free: 21.55 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.3199, allocations: 11.44 kB / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3199, allocations: 0 / 412.9 MB, free: 21.54 MB / 298.7 MB Notification: Performance of Templates: time 0.001899/0.3218, allocations: 313.2 kB / 413.2 MB, free: 21.24 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches