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.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 108.7 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 207.9 kB / 19.79 MB, free: 2.586 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.606/1.606, allocations: 230.4 MB / 251.1 MB, free: 8.457 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.002187/0.002187, allocations: 71.83 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 53.3 MB / 422.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003212/0.3365, allocations: 1.491 MB / 423.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.3375, allocations: 458.8 kB / 424.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.599e-05/0.3376, allocations: 4 kB / 424.2 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.3376, allocations: 3.938 kB / 424.2 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.239e-05/0.3377, allocations: 7.922 kB / 424.2 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.338, allocations: 27.17 kB / 424.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.3381, allocations: 43.83 kB / 424.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3382, allocations: 4 kB / 424.3 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.841e-05/0.3382, allocations: 23.92 kB / 424.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.3383, allocations: 15.92 kB / 424.3 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.3383, allocations: 4 kB / 424.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.567e-06/0.3383, allocations: 0 / 424.3 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.035e-05/0.3383, allocations: 8 kB / 424.4 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.3384, allocations: 19.88 kB / 424.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3385, allocations: 35.88 kB / 424.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3385, allocations: 0 / 424.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3385, allocations: 0 / 424.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3385, allocations: 0 / 424.4 MB, free: 5.711 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.0005757/0.3391, allocations: 350.9 kB / 424.7 MB, free: 5.324 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3391, allocations: 12.03 kB / 424.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.3392, allocations: 8.891 kB / 424.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3396, allocations: 184.3 kB / 424.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3396, allocations: 384 / 424.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.3396, allocations: 4.375 kB / 425 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005091/0.3401, allocations: 139.6 kB / 425.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-06/0.3401, allocations: 0 / 425.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3401, allocations: 0 / 425.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3401, allocations: 0 / 425.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.3403, allocations: 43.83 kB / 425.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.3406, allocations: 153.7 kB / 425.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.3409, allocations: 82.52 kB / 425.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.341, allocations: 36.91 kB / 425.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.341, allocations: 0 / 425.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.3411, allocations: 34.5 kB / 425.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3411, allocations: 0 / 425.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004098/0.3415, allocations: 105.6 kB / 425.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.3415, allocations: 51.41 kB / 425.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3417, allocations: 109.8 kB / 425.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3417, allocations: 29.7 kB / 425.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.3418, allocations: 84.14 kB / 425.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.3418, allocations: 0 / 425.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.3418, allocations: 21.72 kB / 425.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.342, allocations: 314.8 kB / 426.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.342, allocations: 4 kB / 426.1 MB, free: 3.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.3421, allocations: 35.61 kB / 426.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.114e-05/0.3421, allocations: 35.38 kB / 426.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3421, allocations: 4 kB / 426.2 MB, free: 3.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.517e-05/0.3422, allocations: 65.45 kB / 426.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3423, allocations: 7.938 kB / 426.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3423, allocations: 0 / 426.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3423, allocations: 4 kB / 426.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.3424, allocations: 7.984 kB / 426.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3424, allocations: 128 / 426.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.3424, allocations: 8 kB / 426.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3424, allocations: 0 / 426.3 MB, free: 3.566 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.0001321/0.3425, allocations: 117.8 kB / 426.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.3427, allocations: 85.48 kB / 426.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.3428, allocations: 3.906 kB / 426.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3428, allocations: 0 / 426.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.3428, allocations: 0 / 426.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3428, allocations: 4 kB / 426.5 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.343, allocations: 157.7 kB / 426.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.343, allocations: 0 / 426.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/0.3431, allocations: 15.98 kB / 426.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3431, allocations: 7.875 kB / 426.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3431, allocations: 4 kB / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3431, allocations: 0 / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3431, allocations: 0 / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.3433, allocations: 101.1 kB / 426.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/0.3434, allocations: 92.92 kB / 426.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.3434, allocations: 0 / 426.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.3435, allocations: 8 kB / 426.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.3435, allocations: 0 / 426.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.3435, allocations: 0 / 426.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.3435, allocations: 87.58 kB / 427 MB, free: 2.781 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3435, allocations: 0 / 427 MB, free: 2.781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.3438, allocations: 12 kB / 427 MB, free: 2.77 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.0001676/0.3439, allocations: 95.25 kB / 427.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3442, allocations: 35.91 kB / 427.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3442, allocations: 0 / 427.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3442, allocations: 0 / 427.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.3446, allocations: 28.22 kB / 427.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.345, allocations: 121.6 kB / 427.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.3454, allocations: 0.6807 MB / 427.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.124e-05/0.3455, allocations: 7.984 kB / 427.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/0.3455, allocations: 7.438 kB / 428 MB, free: 1.738 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3455, allocations: 0 / 428 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Templates: time 0.003151/0.3487, allocations: 445.8 kB / 428.4 MB, free: 1.305 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches