Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 118.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001358/0.001358, allocations: 211.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 63.89 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2278, allocations: 50.55 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002775/0.2306, allocations: 1.475 MB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.2309, allocations: 99.69 kB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.2309, allocations: 3.938 kB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.231, allocations: 0 / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.204e-05/0.231, allocations: 3.938 kB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.2312, allocations: 23.91 kB / 411.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.2313, allocations: 27.92 kB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.2314, allocations: 11.94 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.918e-05/0.2314, allocations: 7.984 kB / 411.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.964e-05/0.2315, allocations: 7.938 kB / 411.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.2315, allocations: 4 kB / 411.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2315, allocations: 8 kB / 411.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.2315, allocations: 7.938 kB / 411.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.2316, allocations: 19.91 kB / 411.9 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.537e-05/0.2316, allocations: 19.91 kB / 411.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2316, allocations: 0 / 411.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.2316, allocations: 4 kB / 411.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.2317, allocations: 0 / 411.9 MB, free: 15.72 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.0004169/0.2321, allocations: 335.3 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.2321, allocations: 8.031 kB / 412.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.2321, allocations: 16.89 kB / 412.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.2324, allocations: 180.2 kB / 412.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2324, allocations: 4.375 kB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.2324, allocations: 4.312 kB / 412.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.2327, allocations: 115.8 kB / 412.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2327, allocations: 8.125 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.2327, allocations: 3.938 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2327, allocations: 0 / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.2328, allocations: 19.98 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2329, allocations: 161.6 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.2331, allocations: 46.56 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.2331, allocations: 28.92 kB / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2331, allocations: 3.938 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2332, allocations: 30.56 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2332, allocations: 0 / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000231/0.2334, allocations: 73.59 kB / 413 MB, free: 14.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.2335, allocations: 55.41 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.2335, allocations: 105.9 kB / 413.1 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.2336, allocations: 25.7 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.427e-05/0.2336, allocations: 88.12 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-06/0.2336, allocations: 0 / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2336, allocations: 17.72 kB / 413.2 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2338, allocations: 310.8 kB / 413.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.587e-05/0.2338, allocations: 7.938 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.2338, allocations: 39.59 kB / 413.6 MB, free: 13.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.2339, allocations: 35.38 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2339, allocations: 0 / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.159e-05/0.234, allocations: 61.64 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.234, allocations: 4 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.234, allocations: 3.938 kB / 413.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.234, allocations: 4 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.2e-05/0.234, allocations: 4 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.234, allocations: 0 / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.2341, allocations: 4 kB / 413.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-06/0.2341, allocations: 0 / 413.7 MB, free: 13.7 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 9.037e-05/0.2341, allocations: 125.7 kB / 413.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.2343, allocations: 53.75 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.2343, allocations: 15.84 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.2343, allocations: 0 / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.2343, allocations: 0 / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.2343, allocations: 0 / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.2344, allocations: 161.6 kB / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2344, allocations: 0 / 414.1 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.2345, allocations: 11.94 kB / 414.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2345, allocations: 0 / 414.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.2345, allocations: 3.938 kB / 414.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2345, allocations: 4.25 kB / 414.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.2345, allocations: 3.984 kB / 414.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.2346, allocations: 89.02 kB / 414.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.2347, allocations: 85.09 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.2347, allocations: 3.938 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.2347, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-06/0.2347, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.2347, allocations: 8 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.2348, allocations: 83.28 kB / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2348, allocations: 0 / 414.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.2349, allocations: 4 kB / 414.3 MB, free: 12.94 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.0001041/0.235, allocations: 99.23 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.2351, allocations: 31.92 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2352, allocations: 0 / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2352, allocations: 4.25 kB / 414.5 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.2354, allocations: 16.03 kB / 414.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.2356, allocations: 123.9 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.2359, allocations: 0.6807 MB / 415.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.213e-05/0.2359, allocations: 0 / 415.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.236, allocations: 11.44 kB / 415.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.236, allocations: 0 / 415.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Templates: time 0.002316/0.2383, allocations: 324.5 kB / 415.6 MB, free: 11.61 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches