Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.001381, allocations: 113.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.001191, allocations: 208.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.128/2.128, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4212, allocations: 50.55 MB / 409.9 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004274/0.4255, allocations: 1.476 MB / 411.4 MB, free: 256 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.4268, allocations: 443.9 kB / 411.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.896e-05/0.4269, allocations: 0 / 411.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.242e-05/0.427, allocations: 0 / 411.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.748e-05/0.4271, allocations: 11.88 kB / 411.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.4275, allocations: 27.97 kB / 411.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.4277, allocations: 39.78 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.4278, allocations: 8 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.4279, allocations: 19.98 kB / 412 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.035e-05/0.428, allocations: 23.84 kB / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.428, allocations: 0 / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.428, allocations: 4 kB / 412 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.4281, allocations: 8 kB / 412 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.4281, allocations: 11.94 kB / 412 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.4283, allocations: 35.83 kB / 412 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4283, allocations: 0 / 412 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4283, allocations: 0 / 412 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4283, allocations: 0 / 412 MB, free: 15.62 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.0006718/0.429, allocations: 355.6 kB / 412.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4291, allocations: 12.03 kB / 412.4 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.4291, allocations: 8.844 kB / 412.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.4295, allocations: 180.3 kB / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.4295, allocations: 384 / 412.6 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4295, allocations: 8.375 kB / 412.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.4302, allocations: 143.5 kB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4302, allocations: 0 / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4302, allocations: 0 / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.4302, allocations: 0 / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002593/0.4305, allocations: 39.95 kB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.4307, allocations: 161.6 kB / 412.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.4311, allocations: 82.55 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4313, allocations: 28.88 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4313, allocations: 0 / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.4314, allocations: 42.5 kB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4314, allocations: 0 / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005093/0.4319, allocations: 97.56 kB / 413.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.432, allocations: 55.41 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.4321, allocations: 109.8 kB / 413.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.4322, allocations: 25.7 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.4323, allocations: 84.14 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.25e-05/0.4323, allocations: 4 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.4324, allocations: 13.72 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4325, allocations: 322.8 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.4326, allocations: 3.938 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.4326, allocations: 27.61 kB / 413.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.501e-05/0.4327, allocations: 39.38 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4327, allocations: 0 / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001269/0.4328, allocations: 57.53 kB / 413.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4329, allocations: 14.53 kB / 413.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.4329, allocations: 8.125 kB / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4329, allocations: 0 / 413.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.433, allocations: 11.98 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.433, allocations: 0 / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.4331, allocations: 3.938 kB / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4331, allocations: 8 kB / 413.9 MB, free: 13.46 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 0.000108/0.4332, allocations: 109.8 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.4335, allocations: 81.53 kB / 414.1 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.4335, allocations: 11.91 kB / 414.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4336, allocations: 4 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.4336, allocations: 4 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4336, allocations: 3.938 kB / 414.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.4337, allocations: 157.7 kB / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4338, allocations: 0 / 414.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4339, allocations: 11.98 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.4339, allocations: 3.938 kB / 414.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4339, allocations: 4 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4339, allocations: 0 / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4339, allocations: 4 kB / 414.3 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.4343, allocations: 105 kB / 414.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.4343, allocations: 81.05 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.4344, allocations: 4 kB / 414.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.4344, allocations: 4 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.105e-05/0.4345, allocations: 3.984 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4345, allocations: 4 kB / 414.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.4345, allocations: 87.22 kB / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4346, allocations: 0 / 414.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.4349, allocations: 4 kB / 414.6 MB, free: 12.68 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.0001375/0.435, allocations: 95.25 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.4353, allocations: 35.97 kB / 414.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4353, allocations: 8.188 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.4353, allocations: 3.938 kB / 414.8 MB, free: 12.53 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.4357, allocations: 32 kB / 414.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.4362, allocations: 147.2 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.4366, allocations: 0.6807 MB / 415.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.4366, allocations: 7.438 kB / 415.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4366, allocations: 4 kB / 415.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of Templates: time 0.002714/0.4393, allocations: 0.615 MB / 416.2 MB, free: 10.98 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches