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.001803/0.001803, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.002302/0.002302, allocations: 200 kB / 18.01 MB, free: 5.047 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.566/1.566, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.00148, allocations: 55.91 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3231, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003421/0.3266, allocations: 1.463 MB / 401.7 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002231/0.3268, allocations: 31.53 kB / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.3269, allocations: 0 / 401.7 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.327, allocations: 5.031 kB / 401.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.327, allocations: 3.938 kB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3273, allocations: 34.95 kB / 401.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.3275, allocations: 38.83 kB / 401.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3276, allocations: 12.3 kB / 401.8 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.3276, allocations: 13.31 kB / 401.8 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.3277, allocations: 21.17 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.3277, allocations: 3.531 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.3277, allocations: 3.156 kB / 401.9 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.3278, allocations: 14.09 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.3278, allocations: 15.31 kB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3279, allocations: 43.41 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.328, allocations: 0 / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.328, allocations: 1.062 kB / 401.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.328, allocations: 0 / 401.9 MB, free: 7.105 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.0006053/0.3286, allocations: 358 kB / 402.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3286, allocations: 11.25 kB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.3287, allocations: 30.75 kB / 402.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.3287, allocations: 4.938 kB / 402.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.329, allocations: 192.2 kB / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.3291, allocations: 8.375 kB / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3291, allocations: 384 / 402.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.3297, allocations: 167.7 kB / 402.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3297, allocations: 3.938 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.3298, allocations: 0 / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3298, allocations: 3.938 kB / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002764/0.33, allocations: 47.94 kB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.3303, allocations: 165.7 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.3307, allocations: 86.44 kB / 403 MB, free: 5.906 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.3308, allocations: 36.91 kB / 403 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3309, allocations: 0 / 403 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/0.3309, allocations: 30.56 kB / 403.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3309, allocations: 4 kB / 403.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005823/0.3315, allocations: 121.5 kB / 403.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/0.3316, allocations: 63.33 kB / 403.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3317, allocations: 101.9 kB / 403.3 MB, free: 5.516 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3318, allocations: 25.7 kB / 403.4 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.3318, allocations: 88.12 kB / 403.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3319, allocations: 4 kB / 403.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3319, allocations: 17.72 kB / 403.5 MB, free: 5.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.332, allocations: 310.8 kB / 403.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.3321, allocations: 15.98 kB / 403.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.3321, allocations: 23.44 kB / 403.8 MB, free: 5.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.651e-05/0.3322, allocations: 39.38 kB / 403.9 MB, free: 4.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3322, allocations: 4 kB / 403.9 MB, free: 4.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.61e-05/0.3323, allocations: 61.58 kB / 403.9 MB, free: 4.883 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.3323, allocations: 7.938 kB / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3323, allocations: 0 / 403.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3324, allocations: 4 kB / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.685e-05/0.3324, allocations: 15.92 kB / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3325, allocations: 0 / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.3325, allocations: 128 / 404 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3325, allocations: 12.06 kB / 404 MB, free: 4.844 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.0001146/0.3326, allocations: 117.8 kB / 404.1 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.3329, allocations: 85.58 kB / 404.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.333, allocations: 11.89 kB / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.333, allocations: 0 / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.333, allocations: 0 / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.333, allocations: 0 / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3332, allocations: 165.6 kB / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3332, allocations: 240 / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.925e-05/0.3333, allocations: 15.92 kB / 404.4 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3333, allocations: 7.938 kB / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3333, allocations: 0 / 404.4 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3333, allocations: 4 kB / 404.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3333, allocations: 3.984 kB / 404.4 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.3337, allocations: 109.1 kB / 404.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.3337, allocations: 89 kB / 404.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3338, allocations: 7.922 kB / 404.6 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.3338, allocations: 8 kB / 404.6 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-06/0.3338, allocations: 4 kB / 404.6 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3339, allocations: 7.984 kB / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.411e-05/0.3339, allocations: 79.28 kB / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3339, allocations: 0 / 404.7 MB, free: 4.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.3341, allocations: 8 kB / 404.7 MB, free: 4.023 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.000881/0.335, allocations: 0.6904 MB / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002222/0.3352, allocations: 43.89 kB / 405.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3352, allocations: 4 kB / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.3353, allocations: 0 / 405.4 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.3356, allocations: 39.98 kB / 405.5 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3369, allocations: 1.201 MB / 406.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3373, allocations: 0.6844 MB / 407.3 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.87e-05/0.3373, allocations: 4 kB / 407.3 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.3374, allocations: 11.44 kB / 407.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3374, allocations: 0 / 407.4 MB, free: 1.191 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.3615, allocations: 1.496 MB / 408.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.859/8.22, allocations: 12.42 kB / 408.9 MB, free: 15.81 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