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.001591/0.001591, allocations: 204.1 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 226.5 MB / 245.4 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001089/0.001089, allocations: 107.6 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002731/0.0002731, allocations: 11.98 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2681, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1134/0.3816, allocations: 76.84 MB / 486.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.3819, allocations: 75.95 kB / 486.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001736/0.3836, allocations: 0.7054 MB / 487 MB, free: 13.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.3837, allocations: 4 kB / 487 MB, free: 13.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3837, allocations: 0 / 487 MB, free: 13.9 MB / 362.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.0003889/0.3841, allocations: 336 kB / 487.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.3841, allocations: 9.062 kB / 487.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3842, allocations: 4.938 kB / 487.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.3844, allocations: 176.2 kB / 487.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3845, allocations: 2.781 kB / 487.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3845, allocations: 8.375 kB / 487.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.3848, allocations: 110.6 kB / 487.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3849, allocations: 192 / 487.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3849, allocations: 3.938 kB / 487.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3849, allocations: 0 / 487.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.304e-05/0.385, allocations: 26.83 kB / 487.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3851, allocations: 161.6 kB / 487.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.3853, allocations: 70.5 kB / 487.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.3854, allocations: 24.89 kB / 487.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3854, allocations: 3.984 kB / 487.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3855, allocations: 30.56 kB / 488 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3855, allocations: 0 / 488 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.3858, allocations: 89.45 kB / 488 MB, free: 12.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.3858, allocations: 59.33 kB / 488.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.3859, allocations: 101.9 kB / 488.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.386, allocations: 29.7 kB / 488.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.386, allocations: 80.14 kB / 488.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.386, allocations: 7.984 kB / 488.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.386, allocations: 3.938 kB / 488.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3862, allocations: 318.8 kB / 488.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.3862, allocations: 4 kB / 488.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.3863, allocations: 31.42 kB / 488.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.3863, allocations: 31.38 kB / 488.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3863, allocations: 0 / 488.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.531e-05/0.3864, allocations: 57.62 kB / 488.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3864, allocations: 4 kB / 488.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3865, allocations: 7.938 kB / 488.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3865, allocations: 0 / 488.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.3865, allocations: 11.94 kB / 488.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3866, allocations: 3.984 kB / 488.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.3866, allocations: 4.125 kB / 488.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.3866, allocations: 4 kB / 488.8 MB, free: 11.88 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.734e-05/0.3867, allocations: 109.8 kB / 488.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.3868, allocations: 65.58 kB / 489 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.914e-05/0.3868, allocations: 11.84 kB / 489 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3869, allocations: 0 / 489 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3869, allocations: 0 / 489 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3869, allocations: 4 kB / 489 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.387, allocations: 153.7 kB / 489.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.387, allocations: 3.984 kB / 489.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.3871, allocations: 11.94 kB / 489.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3871, allocations: 4 kB / 489.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3871, allocations: 3.938 kB / 489.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3871, allocations: 0 / 489.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3871, allocations: 0 / 489.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.3872, allocations: 89.11 kB / 489.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.3873, allocations: 77.48 kB / 489.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.3873, allocations: 3.938 kB / 489.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.688e-05/0.3874, allocations: 7.984 kB / 489.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-06/0.3874, allocations: 0 / 489.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3874, allocations: 256 / 489.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.033e-05/0.3874, allocations: 91.28 kB / 489.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3874, allocations: 4 kB / 489.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.3876, allocations: 4 kB / 489.4 MB, free: 11.13 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001183/0.3878, allocations: 107 kB / 489.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3879, allocations: 23.98 kB / 489.5 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3879, allocations: 4 kB / 489.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.3879, allocations: 0 / 489.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3881, allocations: 34.58 kB / 489.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.3884, allocations: 124.5 kB / 489.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3887, allocations: 0.6809 MB / 490.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.477e-05/0.3887, allocations: 4 kB / 490.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.3888, allocations: 11.44 kB / 490.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3888, allocations: 0 / 490.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of Templates: time 0.002216/0.391, allocations: 278 kB / 490.7 MB, free: 9.832 MB / 362.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/jenkins1/ws/OpenModelicaLibraryTestingWork/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