Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",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.001917/0.001917, allocations: 109.2 kB / 16.92 MB, free: 6.145 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.00193/0.00193, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.58/1.58, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 48.39 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1623, allocations: 49.45 MB / 350.2 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004148/0.1665, allocations: 1.603 MB / 351.8 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.168, allocations: 0.5142 MB / 352.3 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.1682, allocations: 4 kB / 352.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.644e-05/0.1683, allocations: 3.938 kB / 352.3 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.1685, allocations: 15.86 kB / 352.3 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.169, allocations: 55.77 kB / 352.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1692, allocations: 59.78 kB / 352.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.1694, allocations: 19.98 kB / 352.4 MB, free: 2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1695, allocations: 31.8 kB / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.1696, allocations: 27.86 kB / 352.5 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1696, allocations: 4 kB / 352.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.1697, allocations: 4 kB / 352.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.1698, allocations: 19.91 kB / 352.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.1698, allocations: 31.75 kB / 352.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.17, allocations: 67.72 kB / 352.6 MB, free: 1.816 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.17, allocations: 4 kB / 352.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1701, allocations: 0 / 352.6 MB, free: 1.812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.1701, allocations: 4 kB / 352.6 MB, free: 1.809 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007608/0.1708, allocations: 379.3 kB / 353 MB, free: 1.391 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.1709, allocations: 8.031 kB / 353 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.171, allocations: 42.73 kB / 353.1 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.171, allocations: 12.75 kB / 353.1 MB, free: 1.32 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1713, allocations: 208 kB / 353.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1714, allocations: 384 / 353.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1714, allocations: 8.375 kB / 353.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.1718, allocations: 142.8 kB / 353.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1718, allocations: 0 / 353.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1719, allocations: 0 / 353.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1719, allocations: 0 / 353.4 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.172, allocations: 27.92 kB / 353.4 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.1725, allocations: 299.4 kB / 353.7 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1727, allocations: 94.42 kB / 353.8 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1728, allocations: 51.48 kB / 353.9 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.1729, allocations: 0 / 353.9 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1729, allocations: 50.42 kB / 353.9 MB, free: 284 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1729, allocations: 0 / 353.9 MB, free: 284 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003704/0.1733, allocations: 101.5 kB / 354 MB, free: 176 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1734, allocations: 129 kB / 354.2 MB, free: 16 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.1736, allocations: 158.1 kB / 354.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1736, allocations: 25.7 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.1737, allocations: 96.12 kB / 354.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1738, allocations: 3.906 kB / 354.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.1738, allocations: 17.72 kB / 354.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.174, allocations: 326.8 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.101e-05/0.1741, allocations: 8 kB / 354.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.69e-05/0.1741, allocations: 57.08 kB / 354.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1743, allocations: 61.08 kB / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1743, allocations: 0 / 354.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001908/0.1745, allocations: 85.45 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1745, allocations: 4 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1745, allocations: 4 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.1746, allocations: 7.922 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1747, allocations: 20.19 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1747, allocations: 0 / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.1748, allocations: 4 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1748, allocations: 7.984 kB / 355 MB, free: 15.07 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.0001358/0.1749, allocations: 125.7 kB / 355.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.175, allocations: 69.53 kB / 355.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/0.1751, allocations: 11.88 kB / 355.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1751, allocations: 4.094 kB / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1751, allocations: 0 / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1751, allocations: 7.984 kB / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.1754, allocations: 177.5 kB / 355.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1754, allocations: 0 / 355.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-05/0.1754, allocations: 19.98 kB / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1755, allocations: 0 / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1755, allocations: 0 / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1755, allocations: 4 kB / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.1755, allocations: 0 / 355.4 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1757, allocations: 206 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1758, allocations: 89.06 kB / 355.7 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.1759, allocations: 12 kB / 355.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.176, allocations: 0 / 355.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.176, allocations: 8 kB / 355.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.176, allocations: 4 kB / 355.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.401e-05/0.1761, allocations: 111.2 kB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1761, allocations: 3.938 kB / 355.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1764, allocations: 8 kB / 355.9 MB, free: 14.11 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0006755/0.1771, allocations: 0.7382 MB / 356.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.1773, allocations: 43.86 kB / 356.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1773, allocations: 0 / 356.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.1773, allocations: 8.359 kB / 356.7 MB, free: 13.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.1779, allocations: 40.09 kB / 356.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.1799, allocations: 1.491 MB / 358.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.1804, allocations: 0.7001 MB / 358.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.746e-05/0.1805, allocations: 12.66 kB / 358.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.1805, allocations: 23.42 kB / 358.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1805, allocations: 0 / 358.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08485/0.2654, allocations: 1.992 MB / 360.9 MB, free: 8.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/8.845, allocations: 4.062 kB / 360.9 MB, free: 8.977 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches