Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 110.9 kB / 17.74 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 184.5 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4045, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.0041/0.4087, allocations: 1.48 MB / 402.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4097, allocations: 414.9 kB / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.4098, allocations: 0 / 403.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.4099, allocations: 3.938 kB / 403.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.41, allocations: 7.938 kB / 403.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.4104, allocations: 27.92 kB / 403.3 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.4105, allocations: 43.84 kB / 403.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.4107, allocations: 7.984 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.082e-05/0.4107, allocations: 8 kB / 403.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.4108, allocations: 15.92 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.4108, allocations: 4 kB / 403.4 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.4109, allocations: 7.938 kB / 403.4 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.4109, allocations: 7.984 kB / 403.4 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.411, allocations: 15.94 kB / 403.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.4111, allocations: 47.69 kB / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4111, allocations: 0 / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4111, allocations: 0 / 403.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.4111, allocations: 0 / 403.5 MB, free: 6.746 MB / 318.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.0007388/0.4119, allocations: 352.5 kB / 403.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.4119, allocations: 8.031 kB / 403.8 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.01e-05/0.412, allocations: 8.844 kB / 403.8 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.4123, allocations: 176.4 kB / 404 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4124, allocations: 8.375 kB / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.4124, allocations: 384 / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.4131, allocations: 135.5 kB / 404.2 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4131, allocations: 8 kB / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4131, allocations: 4 kB / 404.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4131, allocations: 0 / 404.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.4134, allocations: 31.97 kB / 404.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.4136, allocations: 161.6 kB / 404.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.414, allocations: 82.52 kB / 404.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.4142, allocations: 32.91 kB / 404.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4142, allocations: 0 / 404.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.4143, allocations: 46.44 kB / 404.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.4143, allocations: 0 / 404.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004882/0.4148, allocations: 93.78 kB / 404.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.4148, allocations: 63.42 kB / 404.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.415, allocations: 109.8 kB / 404.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.415, allocations: 25.7 kB / 404.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.4151, allocations: 88.12 kB / 404.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.077e-06/0.4151, allocations: 0 / 404.9 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.4151, allocations: 13.72 kB / 404.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4153, allocations: 318.8 kB / 405.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.4153, allocations: 7.984 kB / 405.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.4154, allocations: 31.38 kB / 405.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.4155, allocations: 31.38 kB / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4155, allocations: 7.938 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/0.4156, allocations: 57.62 kB / 405.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4156, allocations: 7.938 kB / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.84e-06/0.4156, allocations: 0 / 405.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4157, allocations: 4 kB / 405.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.4157, allocations: 4 kB / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.4158, allocations: 0 / 405.4 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.6e-05/0.4158, allocations: 8.031 kB / 405.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.4158, allocations: 4 kB / 405.4 MB, free: 4.609 MB / 318.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.0001172/0.4159, allocations: 125.7 kB / 405.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.4162, allocations: 81.53 kB / 405.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.4163, allocations: 3.906 kB / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4163, allocations: 0 / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4163, allocations: 0 / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4163, allocations: 0 / 405.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.4165, allocations: 165.7 kB / 405.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4165, allocations: 0 / 405.7 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4166, allocations: 11.98 kB / 405.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4166, allocations: 3.938 kB / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.4166, allocations: 0 / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4166, allocations: 0 / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4166, allocations: 0 / 405.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.417, allocations: 112.9 kB / 405.9 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.417, allocations: 81.05 kB / 405.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4171, allocations: 3.984 kB / 406 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.313e-05/0.4171, allocations: 4 kB / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-06/0.4172, allocations: 0 / 406 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.4172, allocations: 4 kB / 406 MB, free: 3.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.14e-05/0.4172, allocations: 87.27 kB / 406 MB, free: 3.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4173, allocations: 0 / 406 MB, free: 3.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003595/0.4176, allocations: 4 kB / 406.1 MB, free: 3.824 MB / 318.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.0001589/0.4178, allocations: 108 kB / 406.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.418, allocations: 35.91 kB / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4181, allocations: 0 / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.4181, allocations: 0 / 406.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.4185, allocations: 36 kB / 406.2 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004334/0.419, allocations: 151.5 kB / 406.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.4194, allocations: 0.6883 MB / 407.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.4194, allocations: 7.438 kB / 407.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4194, allocations: 0 / 407.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of Templates: time 0.002738/0.4222, allocations: 0.6178 MB / 407.7 MB, free: 2.117 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches