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.0009423/0.0009424, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001141/0.001141, allocations: 177 kB / 17.56 MB, free: 6.18 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.564/1.564, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003209, allocations: 8 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 50.42 MB / 352 MB, free: 3.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002455/0.147, allocations: 1.178 MB / 353.1 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.1474, allocations: 35.86 kB / 353.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.1475, allocations: 0 / 353.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.1475, allocations: 0 / 353.2 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.1476, allocations: 15.92 kB / 353.2 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.148, allocations: 15.98 kB / 353.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1481, allocations: 31.92 kB / 353.2 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1483, allocations: 15.97 kB / 353.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.1484, allocations: 11.94 kB / 353.3 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.1485, allocations: 19.91 kB / 353.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.1485, allocations: 0 / 353.3 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.1486, allocations: 4 kB / 353.3 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.1486, allocations: 7.938 kB / 353.3 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.1487, allocations: 41.64 kB / 353.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.1488, allocations: 35.86 kB / 353.4 MB, free: 1.934 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1488, allocations: 4 kB / 353.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1488, allocations: 0 / 353.4 MB, free: 1.93 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.1488, allocations: 0 / 353.4 MB, free: 1.93 MB / 286.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.0006317/0.1495, allocations: 351.6 kB / 353.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.1495, allocations: 12.03 kB / 353.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.1496, allocations: 30.75 kB / 353.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.1497, allocations: 8.844 kB / 353.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.15, allocations: 180.4 kB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.15, allocations: 4.312 kB / 353.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.15, allocations: 8.375 kB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.1507, allocations: 155.8 kB / 354.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.1508, allocations: 3.938 kB / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1508, allocations: 0 / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.1508, allocations: 0 / 354.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.1511, allocations: 59.88 kB / 354.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002423/0.1514, allocations: 165.6 kB / 354.3 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003794/0.1518, allocations: 86.55 kB / 354.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.1519, allocations: 36.86 kB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.152, allocations: 4 kB / 354.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.152, allocations: 34.56 kB / 354.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.152, allocations: 4 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000569/0.1526, allocations: 121.5 kB / 354.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.1527, allocations: 55.59 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1528, allocations: 109.8 kB / 354.8 MB, free: 328 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.1529, allocations: 25.7 kB / 354.8 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.1529, allocations: 88.12 kB / 354.9 MB, free: 204 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.153, allocations: 7.875 kB / 354.9 MB, free: 196 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.153, allocations: 13.72 kB / 354.9 MB, free: 176 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.1532, allocations: 318.8 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.1532, allocations: 4 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.1533, allocations: 35.42 kB / 355.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.1533, allocations: 39.38 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1533, allocations: 0 / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000122/0.1535, allocations: 69.47 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.1535, allocations: 7.938 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1535, allocations: 4 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.1536, allocations: 3.984 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.057e-05/0.1536, allocations: 8 kB / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1537, allocations: 4.297 kB / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.1537, allocations: 0 / 355.4 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1537, allocations: 8.125 kB / 355.4 MB, free: 15.64 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 0.0001361/0.1539, allocations: 113.8 kB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.1542, allocations: 97.42 kB / 355.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.365e-05/0.1542, allocations: 7.906 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1542, allocations: 0 / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.1543, allocations: 3.984 kB / 355.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1543, allocations: 4 kB / 355.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1544, allocations: 157.7 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1544, allocations: 0 / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.1546, allocations: 19.98 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1546, allocations: 3.938 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1546, allocations: 0 / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.1546, allocations: 3.984 kB / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1546, allocations: 0 / 355.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.155, allocations: 121.7 kB / 355.9 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.155, allocations: 84.95 kB / 356 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.1551, allocations: 3.938 kB / 356 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.655e-05/0.1552, allocations: 15.98 kB / 356 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-06/0.1552, allocations: 3.938 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1552, allocations: 3.984 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.481e-05/0.1552, allocations: 87.28 kB / 356.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1553, allocations: 0 / 356.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1555, allocations: 4 kB / 356.1 MB, free: 14.81 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.0009497/0.1564, allocations: 0.6944 MB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.1567, allocations: 43.89 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1567, allocations: 0 / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.1567, allocations: 3.938 kB / 356.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.1571, allocations: 53.78 kB / 356.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.1584, allocations: 1.197 MB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1587, allocations: 0.6809 MB / 358.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.224e-05/0.1587, allocations: 0 / 358.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.1588, allocations: 19.38 kB / 358.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1588, allocations: 4 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1724, allocations: 1.269 MB / 360.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/0.1727, allocations: 214.3 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.18, allocations: 3.625 kB / 360.3 MB, free: 10.59 MB / 302.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