Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00205/0.002051, allocations: 113.3 kB / 17.06 MB, free: 6.09 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.002415/0.002415, allocations: 199 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.519/2.519, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 51.91 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5628, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.005479/0.5683, allocations: 1.454 MB / 401.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000352/0.5687, allocations: 41.98 kB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.5689, allocations: 1.5 kB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.569, allocations: 3.938 kB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.089e-05/0.569, allocations: 9.344 kB / 401.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.5694, allocations: 22.47 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.5696, allocations: 35.39 kB / 401.8 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.5698, allocations: 11.73 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.209e-05/0.5699, allocations: 17.8 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.57, allocations: 21.19 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.57, allocations: 3.906 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.701e-05/0.57, allocations: 2.594 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.5701, allocations: 10.16 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.5701, allocations: 18.7 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.5703, allocations: 47.75 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5703, allocations: 0 / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5704, allocations: 1.125 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.5704, allocations: 0 / 401.9 MB, free: 7.102 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.0008829/0.5713, allocations: 349.1 kB / 402.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.939e-05/0.5714, allocations: 12.03 kB / 402.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.976e-05/0.5714, allocations: 42.67 kB / 402.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.971e-05/0.5715, allocations: 8.844 kB / 402.3 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.5719, allocations: 184.3 kB / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.572, allocations: 384 / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.572, allocations: 4.375 kB / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008467/0.5728, allocations: 155.7 kB / 402.7 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5729, allocations: 3.938 kB / 402.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5729, allocations: 0 / 402.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.5729, allocations: 3.938 kB / 402.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003661/0.5733, allocations: 51.94 kB / 402.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.5735, allocations: 161.7 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.574, allocations: 86.48 kB / 403 MB, free: 5.895 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.5742, allocations: 40.91 kB / 403 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.5743, allocations: 3.938 kB / 403 MB, free: 5.848 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.5743, allocations: 30.56 kB / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.5743, allocations: 0 / 403.1 MB, free: 5.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0007624/0.5751, allocations: 125.4 kB / 403.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.5752, allocations: 63.34 kB / 403.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.5754, allocations: 109.8 kB / 403.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5754, allocations: 25.7 kB / 403.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.5755, allocations: 80.14 kB / 403.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.5755, allocations: 4 kB / 403.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.5756, allocations: 13.72 kB / 403.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5758, allocations: 326.8 kB / 403.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.5758, allocations: 3.938 kB / 403.8 MB, free: 5.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.5759, allocations: 31.44 kB / 403.8 MB, free: 4.977 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.576, allocations: 43.36 kB / 403.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.576, allocations: 0 / 403.9 MB, free: 4.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001556/0.5762, allocations: 65.53 kB / 403.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.5762, allocations: 7.938 kB / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5762, allocations: 0 / 403.9 MB, free: 4.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.5763, allocations: 4 kB / 403.9 MB, free: 4.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.457e-05/0.5764, allocations: 4 kB / 403.9 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5764, allocations: 4 kB / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.5764, allocations: 0 / 403.9 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5765, allocations: 8.125 kB / 404 MB, free: 4.824 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001932/0.5767, allocations: 113.8 kB / 404.1 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/0.5771, allocations: 93.56 kB / 404.2 MB, free: 4.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.5771, allocations: 7.906 kB / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5771, allocations: 0 / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5772, allocations: 0 / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5772, allocations: 0 / 404.2 MB, free: 4.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.5774, allocations: 161.6 kB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.5774, allocations: 0 / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.5775, allocations: 23.97 kB / 404.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.515e-06/0.5776, allocations: 4.062 kB / 404.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.5776, allocations: 4 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5776, allocations: 0 / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.5776, allocations: 3.938 kB / 404.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.5781, allocations: 117 kB / 404.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.5781, allocations: 85.05 kB / 404.6 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.5782, allocations: 3.938 kB / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.5783, allocations: 11.98 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-06/0.5783, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5783, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.419e-05/0.5784, allocations: 91.27 kB / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5784, allocations: 0 / 404.7 MB, free: 4.008 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.5787, allocations: 4 kB / 404.7 MB, free: 4.004 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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.001224/0.5799, allocations: 0.6984 MB / 405.4 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.5803, allocations: 39.97 kB / 405.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5803, allocations: 3.938 kB / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.5803, allocations: 0 / 405.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.5809, allocations: 39.95 kB / 405.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.5828, allocations: 1.201 MB / 406.6 MB, free: 1.895 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005317/0.5833, allocations: 0.6844 MB / 407.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.331e-05/0.5834, allocations: 0 / 407.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.5835, allocations: 19.42 kB / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5835, allocations: 0 / 407.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03392/0.6174, allocations: 1.512 MB / 408.9 MB, free: 15.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.73, allocations: 4.625 kB / 408.9 MB, free: 15.77 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches