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/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.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/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001693/0.001693, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.667/1.667, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 60.05 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2992, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002584/0.3018, allocations: 1.468 MB / 411.4 MB, free: 120 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002504/0.3021, allocations: 95.69 kB / 411.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3021, allocations: 0 / 411.5 MB, free: 24 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.3022, allocations: 3.938 kB / 411.5 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.3022, allocations: 3.938 kB / 411.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.3024, allocations: 28.02 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.3025, allocations: 27.88 kB / 411.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.68e-05/0.3026, allocations: 11.94 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.14e-05/0.3026, allocations: 15.97 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.3027, allocations: 11.94 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.3027, allocations: 0 / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-06/0.3027, allocations: 4 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.3027, allocations: 7.922 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.3028, allocations: 11.94 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.611e-05/0.3028, allocations: 35.84 kB / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3029, allocations: 0 / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3029, allocations: 0 / 411.7 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.3029, allocations: 0 / 411.7 MB, free: 15.86 MB / 334.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.0003626/0.3032, allocations: 339.3 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3033, allocations: 16.02 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.187e-05/0.3033, allocations: 0.9375 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.3035, allocations: 184.3 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3035, allocations: 384 / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.3035, allocations: 384 / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3038, allocations: 107.9 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3038, allocations: 4.125 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3038, allocations: 3.938 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3038, allocations: 4 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.3039, allocations: 19.86 kB / 412.3 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.3041, allocations: 157.7 kB / 412.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3042, allocations: 58.59 kB / 412.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.3043, allocations: 20.89 kB / 412.6 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3043, allocations: 4 kB / 412.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.3043, allocations: 34.55 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3043, allocations: 0 / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000203/0.3045, allocations: 85.58 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3046, allocations: 55.41 kB / 412.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.402e-05/0.3047, allocations: 105.8 kB / 412.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.3047, allocations: 25.7 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.3047, allocations: 84.14 kB / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/0.3047, allocations: 0 / 412.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3048, allocations: 13.72 kB / 413 MB, free: 14.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3049, allocations: 314.8 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.3049, allocations: 11.98 kB / 413.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.3049, allocations: 27.44 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.305, allocations: 31.38 kB / 413.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.305, allocations: 8 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.607e-05/0.3051, allocations: 57.56 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3051, allocations: 6.969 kB / 413.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3051, allocations: 3.938 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3051, allocations: 4 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.1e-05/0.3052, allocations: 4 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.3052, allocations: 0 / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.3052, allocations: 5.266 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3052, allocations: 4.109 kB / 413.4 MB, free: 13.85 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: 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 7.355e-05/0.3053, allocations: 121.8 kB / 413.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3054, allocations: 57.53 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.3054, allocations: 15.84 kB / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3054, allocations: 0 / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3054, allocations: 0 / 413.6 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3055, allocations: 3.984 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.3056, allocations: 157.9 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3056, allocations: 4 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.2e-05/0.3057, allocations: 12 kB / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3057, allocations: 0 / 413.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3057, allocations: 7.922 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3057, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.3057, allocations: 3.984 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.3059, allocations: 77.12 kB / 413.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.306, allocations: 92.94 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.306, allocations: 11.88 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.306, allocations: 0 / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.306, allocations: 3.938 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.306, allocations: 4 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.227e-05/0.3061, allocations: 83.28 kB / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3061, allocations: 0 / 414.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.3063, allocations: 7.984 kB / 414.1 MB, free: 13.08 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: 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 0.0001003/0.3064, allocations: 95.25 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3065, allocations: 27.92 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3065, allocations: 0 / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3065, allocations: 4 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.3067, allocations: 20.02 kB / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.3069, allocations: 135.3 kB / 414.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3072, allocations: 0.6807 MB / 415 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3072, allocations: 11.69 kB / 415 MB, free: 12.05 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3072, allocations: 4 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Templates: time 0.001462/0.3087, allocations: 0.5551 MB / 415.6 MB, free: 11.49 MB / 334.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches