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.00122/0.00122, allocations: 116.2 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 210 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2846, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00253/0.2871, allocations: 1.472 MB / 411.4 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.2874, allocations: 91.75 kB / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.2875, allocations: 0 / 411.5 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.2875, allocations: 3.938 kB / 411.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.2876, allocations: 16.03 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.2878, allocations: 15.92 kB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.513e-05/0.2879, allocations: 23.98 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.288, allocations: 19.8 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.2881, allocations: 4 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.2881, allocations: 15.88 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.2881, allocations: 0 / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.076e-05/0.2882, allocations: 4 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.2882, allocations: 11.92 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.2882, allocations: 11.94 kB / 411.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.2883, allocations: 35.89 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2883, allocations: 0 / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2883, allocations: 3.938 kB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.2883, allocations: 0 / 411.7 MB, free: 15.85 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.0004212/0.2888, allocations: 343.3 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2888, allocations: 12.03 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.2888, allocations: 0.9375 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.289, allocations: 176.3 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.2891, allocations: 4.375 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.2891, allocations: 4.375 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.2894, allocations: 107.8 kB / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2894, allocations: 192 / 412.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2894, allocations: 7.875 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2894, allocations: 4 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.659e-05/0.2895, allocations: 23.97 kB / 412.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2896, allocations: 153.7 kB / 412.5 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.2898, allocations: 54.55 kB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.2899, allocations: 24.92 kB / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.2899, allocations: 0 / 412.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2899, allocations: 34.56 kB / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/0.2899, allocations: 0 / 412.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002032/0.2901, allocations: 81.44 kB / 412.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2902, allocations: 55.41 kB / 412.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/0.2903, allocations: 105.8 kB / 412.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.2903, allocations: 29.7 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.175e-05/0.2903, allocations: 80.14 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-06/0.2903, allocations: 4 kB / 412.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.2904, allocations: 17.72 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.2905, allocations: 314.8 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.2905, allocations: 8 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.2905, allocations: 27.38 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.2906, allocations: 31.44 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2906, allocations: 4 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.525e-05/0.2907, allocations: 57.56 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2907, allocations: 7.125 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2907, allocations: 3.938 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2907, allocations: 8.125 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.743e-05/0.2908, allocations: 7.984 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2908, allocations: 0 / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.2908, allocations: 5.516 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.2908, allocations: 0 / 413.4 MB, free: 13.84 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.006e-05/0.2909, allocations: 117.8 kB / 413.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.291, allocations: 65.53 kB / 413.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.2911, allocations: 15.83 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2911, allocations: 3.938 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2911, allocations: 4 kB / 413.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2911, allocations: 3.938 kB / 413.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.849e-05/0.2912, allocations: 153.7 kB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2912, allocations: 0 / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.593e-05/0.2912, allocations: 11.98 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2912, allocations: 0 / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2913, allocations: 3.938 kB / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2913, allocations: 0 / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2913, allocations: 0 / 413.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2914, allocations: 89.05 kB / 413.9 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.804e-05/0.2914, allocations: 88.95 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2915, allocations: 3.938 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.2915, allocations: 4 kB / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-06/0.2915, allocations: 0 / 414 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2915, allocations: 4 kB / 414 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.901e-05/0.2916, allocations: 83.27 kB / 414.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2916, allocations: 0 / 414.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001795/0.2917, allocations: 12 kB / 414.1 MB, free: 13.07 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.0001039/0.2919, allocations: 95.25 kB / 414.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.292, allocations: 23.92 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.292, allocations: 0 / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.292, allocations: 4 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2922, allocations: 22.25 kB / 414.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.2925, allocations: 135.6 kB / 414.3 MB, free: 12.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.2928, allocations: 0.6807 MB / 415 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.2928, allocations: 11.44 kB / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2928, allocations: 0 / 415 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Templates: time 0.001693/0.2945, allocations: 0.5472 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