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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.001263/0.001263, allocations: 110.7 kB / 16.63 MB, free: 6.34 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.001184/0.001185, allocations: 189.5 kB / 17.55 MB, free: 5.801 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.508/1.508, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 47.23 kB / 300.2 MB, free: 6.098 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1426, allocations: 49.44 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00343/0.1461, allocations: 1.53 MB / 351.2 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008188/0.1469, allocations: 411 kB / 351.6 MB, free: 2.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.147, allocations: 4 kB / 351.6 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.1471, allocations: 3.938 kB / 351.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.1472, allocations: 0 / 351.6 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1475, allocations: 31.91 kB / 351.7 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1476, allocations: 35.86 kB / 351.7 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1477, allocations: 12 kB / 351.7 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.1478, allocations: 19.97 kB / 351.7 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.1479, allocations: 15.92 kB / 351.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1479, allocations: 4 kB / 351.7 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1479, allocations: 7.938 kB / 351.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.1479, allocations: 4 kB / 351.8 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.148, allocations: 11.94 kB / 351.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1481, allocations: 31.89 kB / 351.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1481, allocations: 3.938 kB / 351.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1481, allocations: 0 / 351.8 MB, free: 2.516 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.1481, allocations: 0 / 351.8 MB, free: 2.516 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.0005469/0.1487, allocations: 359.6 kB / 352.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1487, allocations: 8.031 kB / 352.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.1488, allocations: 38.69 kB / 352.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.1488, allocations: 4.938 kB / 352.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1491, allocations: 176.3 kB / 352.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1491, allocations: 8.359 kB / 352.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.1491, allocations: 4.375 kB / 352.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.1497, allocations: 135.4 kB / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/0.1497, allocations: 0 / 352.5 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.1497, allocations: 7.938 kB / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.1497, allocations: 0 / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1499, allocations: 43.95 kB / 352.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002111/0.1501, allocations: 157.6 kB / 352.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1504, allocations: 86.44 kB / 352.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.998e-05/0.1505, allocations: 28.92 kB / 352.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1505, allocations: 4 kB / 352.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.1506, allocations: 38.5 kB / 352.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 3.878e-06/0.1506, allocations: 0 / 352.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003842/0.151, allocations: 101.5 kB / 353 MB, free: 1.156 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.151, allocations: 55.41 kB / 353 MB, free: 1.09 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1512, allocations: 105.8 kB / 353.1 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1512, allocations: 33.7 kB / 353.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.132e-05/0.1513, allocations: 84.14 kB / 353.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.1513, allocations: 0 / 353.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/0.1513, allocations: 13.72 kB / 353.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1515, allocations: 318.8 kB / 353.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.1515, allocations: 4 kB / 353.6 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.275e-05/0.1515, allocations: 35.38 kB / 353.6 MB, free: 472 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.1516, allocations: 27.44 kB / 353.6 MB, free: 432 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1516, allocations: 4 kB / 353.6 MB, free: 428 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.1517, allocations: 65.5 kB / 353.7 MB, free: 356 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1517, allocations: 8.125 kB / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1517, allocations: 0 / 353.7 MB, free: 348 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1518, allocations: 3.938 kB / 353.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.1518, allocations: 11.98 kB / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1518, allocations: 0 / 353.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.176e-05/0.1519, allocations: 4 kB / 353.7 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.1519, allocations: 0 / 353.7 MB, free: 328 kB / 286.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 9.461e-05/0.152, allocations: 109.8 kB / 353.8 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.1522, allocations: 89.44 kB / 353.9 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.71e-05/0.1522, allocations: 8.234 kB / 353.9 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1522, allocations: 4 kB / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1522, allocations: 0 / 353.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.1522, allocations: 3.984 kB / 353.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1524, allocations: 157.7 kB / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1524, allocations: 0 / 354.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.538e-05/0.1525, allocations: 19.92 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1525, allocations: 0 / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.1525, allocations: 0 / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1525, allocations: 4 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1525, allocations: 0 / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1527, allocations: 109 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.1528, allocations: 84.95 kB / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.1528, allocations: 0 / 354.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.542e-05/0.1528, allocations: 7.984 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-06/0.1529, allocations: 7.938 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.1529, allocations: 0 / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.1529, allocations: 91.58 kB / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1529, allocations: 0 / 354.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001846/0.1531, allocations: 4 kB / 354.4 MB, free: 15.52 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: 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.0005026/0.1536, allocations: 0.6436 MB / 355.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.1538, allocations: 39.91 kB / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1538, allocations: 4 kB / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.1538, allocations: 0 / 355.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.1542, allocations: 31.86 kB / 355.1 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1552, allocations: 1.177 MB / 356.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1555, allocations: 0.6807 MB / 357 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.1555, allocations: 4 kB / 357 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.1555, allocations: 15.42 kB / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1555, allocations: 0 / 357 MB, free: 12.77 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/0.277, allocations: 1.254 MB / 358.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003887/0.2774, allocations: 222.7 kB / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.29, allocations: 2.531 kB / 358.5 MB, free: 11.4 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > 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