Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001024/0.001025, allocations: 191.8 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 226.5 MB / 244.7 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007361/0.0007362, allocations: 100.4 kB / 296.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002323, allocations: 8 kB / 356.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2672, allocations: 51.3 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001466/0.2687, allocations: 1.187 MB / 409.2 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002507/0.2689, allocations: 91.78 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.176e-05/0.269, allocations: 0 / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.2691, allocations: 7.938 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.2691, allocations: 1.344 kB / 409.3 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.2694, allocations: 23.91 kB / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.014e-05/0.2695, allocations: 15.94 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2696, allocations: 14.39 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.2696, allocations: 4 kB / 409.4 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.793e-05/0.2697, allocations: 11.94 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2697, allocations: 0 / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.2697, allocations: 0 / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.2697, allocations: 7.922 kB / 409.4 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.2698, allocations: 46.09 kB / 409.5 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.896e-05/0.2699, allocations: 16.47 kB / 409.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2699, allocations: 2.094 kB / 409.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2699, allocations: 4 kB / 409.5 MB, free: 26.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2699, allocations: 0 / 409.5 MB, free: 26.28 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.0003667/0.2703, allocations: 332.5 kB / 409.8 MB, free: 25.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2703, allocations: 8.688 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.2703, allocations: 1.625 kB / 409.8 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.2705, allocations: 184.2 kB / 410 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2705, allocations: 1.625 kB / 410 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.2705, allocations: 8.359 kB / 410 MB, free: 25.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2708, allocations: 116.9 kB / 410.1 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.2709, allocations: 192 / 410.1 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.2709, allocations: 11.92 kB / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2709, allocations: 0 / 410.1 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.31e-05/0.271, allocations: 19.98 kB / 410.2 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.2711, allocations: 157.7 kB / 410.3 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.2713, allocations: 58.58 kB / 410.4 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/0.2713, allocations: 28.89 kB / 410.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.2714, allocations: 3.938 kB / 410.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2714, allocations: 42.5 kB / 410.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.2714, allocations: 0 / 410.4 MB, free: 25.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.2716, allocations: 81.52 kB / 410.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.2717, allocations: 55.39 kB / 410.6 MB, free: 25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.2717, allocations: 101.9 kB / 410.7 MB, free: 24.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2717, allocations: 29.7 kB / 410.7 MB, free: 24.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.2718, allocations: 84.14 kB / 410.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.2718, allocations: 3.984 kB / 410.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.2718, allocations: 4 kB / 410.8 MB, free: 24.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.2719, allocations: 310.8 kB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.2719, allocations: 4 kB / 411.1 MB, free: 24.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.203e-05/0.2719, allocations: 31.36 kB / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.272, allocations: 39.38 kB / 411.2 MB, free: 24.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.272, allocations: 0 / 411.2 MB, free: 24.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.044e-05/0.272, allocations: 53.62 kB / 411.2 MB, free: 24.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.272, allocations: 4 kB / 411.2 MB, free: 24.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2721, allocations: 16 kB / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2721, allocations: 0 / 411.2 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.2721, allocations: 4 kB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2721, allocations: 4 kB / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.903e-05/0.2722, allocations: 0 / 411.2 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.2722, allocations: 4 kB / 411.2 MB, free: 24.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.2722, allocations: 113.8 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.2724, allocations: 69.83 kB / 411.4 MB, free: 24.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.2724, allocations: 11.84 kB / 411.4 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2724, allocations: 0 / 411.4 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2724, allocations: 4 kB / 411.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2724, allocations: 0 / 411.4 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.485e-05/0.2725, allocations: 153.7 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2725, allocations: 3.984 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.478e-05/0.2726, allocations: 8 kB / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2726, allocations: 0 / 411.6 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.2726, allocations: 8.266 kB / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2726, allocations: 4 kB / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.2726, allocations: 0 / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.2727, allocations: 93.03 kB / 411.7 MB, free: 23.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.2728, allocations: 84.95 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.2728, allocations: 3.938 kB / 411.8 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.2728, allocations: 11.98 kB / 411.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-06/0.2728, allocations: 4 kB / 411.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2728, allocations: 0 / 411.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.934e-05/0.2729, allocations: 83.22 kB / 411.9 MB, free: 23.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2729, allocations: 4 kB / 411.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.2731, allocations: 0 / 411.9 MB, free: 23.5 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 (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 9.664e-05/0.2732, allocations: 99.25 kB / 412 MB, free: 23.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.2733, allocations: 31.98 kB / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2733, allocations: 0 / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2733, allocations: 0 / 412 MB, free: 23.37 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.2735, allocations: 23.98 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.2738, allocations: 146.4 kB / 412.2 MB, free: 23.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.2739, allocations: 0.685 MB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.2739, allocations: 11.44 kB / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.274, allocations: 0 / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of Templates: time 0.001787/0.2757, allocations: 0.5349 MB / 413.4 MB, free: 21.91 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches