Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001215/0.001215, allocations: 117.7 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 204.8 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2994, allocations: 50.53 MB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002735/0.3022, allocations: 1.472 MB / 411.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001831/0.3024, allocations: 31.86 kB / 411.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.3024, allocations: 0 / 411.4 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.3025, allocations: 4 kB / 411.4 MB, free: 248 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.915e-05/0.3025, allocations: 3.938 kB / 411.4 MB, free: 244 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3028, allocations: 27.91 kB / 411.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.786e-05/0.3029, allocations: 19.98 kB / 411.5 MB, free: 196 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.303, allocations: 19.98 kB / 411.5 MB, free: 176 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.303, allocations: 11.92 kB / 411.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.3031, allocations: 7.938 kB / 411.5 MB, free: 156 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3031, allocations: 4 kB / 411.5 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.3031, allocations: 4 kB / 411.5 MB, free: 148 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.3031, allocations: 7.984 kB / 411.5 MB, free: 140 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.3032, allocations: 15.88 kB / 411.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.895e-05/0.3033, allocations: 35.83 kB / 411.6 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.521e-05/0.3033, allocations: 0 / 411.6 MB, free: 88 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3033, allocations: 4 kB / 411.6 MB, free: 84 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.3033, allocations: 0 / 411.6 MB, free: 84 kB / 318.1 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.00045/0.3038, allocations: 340.7 kB / 411.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3038, allocations: 8.031 kB / 411.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.3039, allocations: 8.922 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3041, allocations: 180.2 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3041, allocations: 4.312 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.3041, allocations: 8.312 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.3045, allocations: 123.8 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.3045, allocations: 192 / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3046, allocations: 7.875 kB / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3046, allocations: 0 / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3047, allocations: 27.97 kB / 412.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.3048, allocations: 157.7 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.305, allocations: 58.58 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.87e-05/0.3051, allocations: 28.88 kB / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3051, allocations: 0 / 412.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3052, allocations: 34.56 kB / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.3052, allocations: 0 / 412.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002764/0.3054, allocations: 89.44 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.3055, allocations: 55.41 kB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.3056, allocations: 105.8 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3056, allocations: 29.7 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.3057, allocations: 84.14 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/0.3057, allocations: 0 / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.3057, allocations: 17.72 kB / 412.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3058, allocations: 314.8 kB / 413.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.3058, allocations: 8 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.703e-05/0.3059, allocations: 31.75 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.3059, allocations: 35.42 kB / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3059, allocations: 0 / 413.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.393e-05/0.306, allocations: 69.61 kB / 413.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.306, allocations: 11.98 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3061, allocations: 3.938 kB / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3061, allocations: 0 / 413.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.3061, allocations: 8 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3062, allocations: 0 / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.66e-05/0.3062, allocations: 11.84 kB / 413.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.3062, allocations: 0 / 413.4 MB, free: 14 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.398e-05/0.3063, allocations: 117.8 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3064, allocations: 69.7 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.3065, allocations: 15.83 kB / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3065, allocations: 0 / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3065, allocations: 0 / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3065, allocations: 0 / 413.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3066, allocations: 153.7 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3066, allocations: 0 / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.656e-05/0.3067, allocations: 11.98 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3067, allocations: 3.938 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3067, allocations: 3.938 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3067, allocations: 4 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3067, allocations: 4 kB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.3069, allocations: 96.94 kB / 413.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.307, allocations: 77.11 kB / 414 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.307, allocations: 7.938 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.307, allocations: 4 kB / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-06/0.307, allocations: 0 / 414 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.307, allocations: 4 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.053e-05/0.3071, allocations: 87.27 kB / 414.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3071, allocations: 0 / 414.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001871/0.3073, allocations: 8 kB / 414.1 MB, free: 13.23 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 0.0001177/0.3074, allocations: 95.25 kB / 414.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.3076, allocations: 32.2 kB / 414.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3076, allocations: 4 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/0.3076, allocations: 3.984 kB / 414.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3079, allocations: 28.45 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.3082, allocations: 143.5 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3084, allocations: 0.6846 MB / 415.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.348e-05/0.3084, allocations: 7.438 kB / 415.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3084, allocations: 0 / 415.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of Templates: time 0.001997/0.3104, allocations: 0.6347 MB / 415.7 MB, free: 11.54 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches