Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001141/0.001141, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 55.81 kB / 306.4 MB, free: 0.7188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.0865, allocations: 50.53 MB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002324/0.08887, allocations: 1.531 MB / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001526/0.08904, allocations: 35.89 kB / 358.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.08911, allocations: 7.938 kB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.08914, allocations: 0 / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.08919, allocations: 7.938 kB / 358.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.08943, allocations: 27.59 kB / 358.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.08952, allocations: 31.92 kB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.08962, allocations: 8 kB / 358.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.95e-05/0.08967, allocations: 23.91 kB / 358.6 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.08972, allocations: 15.92 kB / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.08974, allocations: 0 / 358.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.08976, allocations: 8 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.08978, allocations: 7.922 kB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.08982, allocations: 11.94 kB / 358.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.08991, allocations: 39.88 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.08992, allocations: 0 / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.08992, allocations: 3.938 kB / 358.6 MB, free: 12.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.08993, allocations: 0 / 358.6 MB, free: 12.42 MB / 302.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.00047/0.09041, allocations: 363.6 kB / 359 MB, free: 12.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.09045, allocations: 12.03 kB / 359 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.09049, allocations: 30.75 kB / 359 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.09052, allocations: 8.938 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.09068, allocations: 176.3 kB / 359.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.09071, allocations: 4.312 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.09072, allocations: 4.375 kB / 359.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.09124, allocations: 159.7 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.09125, allocations: 3.938 kB / 359.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.09127, allocations: 7.984 kB / 359.4 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.09128, allocations: 3.984 kB / 359.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.09152, allocations: 39.95 kB / 359.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.09166, allocations: 169.6 kB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.09195, allocations: 82.52 kB / 359.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.09209, allocations: 32.91 kB / 359.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.09211, allocations: 4 kB / 359.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.09213, allocations: 34.56 kB / 359.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.09214, allocations: 0 / 359.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004467/0.09259, allocations: 125.5 kB / 359.9 MB, free: 11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.09265, allocations: 55.31 kB / 359.9 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.09273, allocations: 105.8 kB / 360 MB, free: 10.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.09275, allocations: 29.64 kB / 360.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.09279, allocations: 88.14 kB / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.09281, allocations: 0 / 360.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.09284, allocations: 25.7 kB / 360.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.09294, allocations: 310.8 kB / 360.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.09296, allocations: 8 kB / 360.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.09299, allocations: 31.42 kB / 360.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.09303, allocations: 39.38 kB / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09304, allocations: 0 / 360.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.681e-05/0.09312, allocations: 61.62 kB / 360.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.09314, allocations: 15.88 kB / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.09315, allocations: 0 / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.09317, allocations: 0 / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.275e-05/0.09322, allocations: 8 kB / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.09323, allocations: 4.125 kB / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.09326, allocations: 4 kB / 360.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.09327, allocations: 0 / 360.7 MB, free: 10.15 MB / 302.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 6.82e-05/0.09334, allocations: 117.8 kB / 360.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.09361, allocations: 97.41 kB / 360.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.09365, allocations: 7.906 kB / 360.9 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.09366, allocations: 4 kB / 360.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.09366, allocations: 0 / 360.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.09367, allocations: 0 / 360.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.09376, allocations: 161.7 kB / 361 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09376, allocations: 0 / 361 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.536e-05/0.09386, allocations: 19.97 kB / 361.1 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.09388, allocations: 7.875 kB / 361.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.09389, allocations: 0 / 361.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.09389, allocations: 0 / 361.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.0939, allocations: 0 / 361.1 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.0942, allocations: 121.2 kB / 361.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/0.09424, allocations: 88.98 kB / 361.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.09426, allocations: 3.938 kB / 361.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.09434, allocations: 15.98 kB / 361.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-06/0.09435, allocations: 3.938 kB / 361.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.09436, allocations: 0 / 361.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.552e-05/0.0944, allocations: 83.27 kB / 361.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.0944, allocations: 4 kB / 361.4 MB, free: 9.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001774/0.09458, allocations: 8 kB / 361.4 MB, free: 9.312 MB / 302.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.0006493/0.09524, allocations: 0.6827 MB / 362.1 MB, free: 8.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.09542, allocations: 39.91 kB / 362.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.09543, allocations: 0 / 362.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.09543, allocations: 0 / 362.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.09579, allocations: 43.98 kB / 362.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008976/0.0967, allocations: 1.199 MB / 363.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.09689, allocations: 0.6809 MB / 364 MB, free: 6.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.07e-05/0.09692, allocations: 8 kB / 364 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.09696, allocations: 11.44 kB / 364 MB, free: 6.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.09696, allocations: 0 / 364 MB, free: 6.492 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6955/0.7924, allocations: 1.342 MB / 365.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.7928, allocations: 210.8 kB / 365.6 MB, free: 5.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.752, allocations: 0 / 365.6 MB, free: 5.016 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches