Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Oscillator,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator",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.00147/0.001471, allocations: 104.1 kB / 17.58 MB, free: 5.555 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.001976/0.001976, allocations: 192.1 kB / 18.51 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.602/2.602, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 51.92 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1526, allocations: 46.62 MB / 327.4 MB, free: 4.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.006787/0.1594, allocations: 2.407 MB / 329.8 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1611, allocations: 0.6125 MB / 330.4 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1614, allocations: 4 kB / 330.4 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002382/0.1617, allocations: 51.45 kB / 330.5 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1619, allocations: 67.34 kB / 330.5 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004205/0.1623, allocations: 59.92 kB / 330.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005698/0.1629, allocations: 250.9 kB / 330.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.1632, allocations: 97.61 kB / 330.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002216/0.1634, allocations: 99.66 kB / 331 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003574/0.1638, allocations: 115.5 kB / 331.1 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.1639, allocations: 20 kB / 331.1 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.782e-05/0.164, allocations: 20 kB / 331.2 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.164, allocations: 47.84 kB / 331.2 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.1642, allocations: 115.4 kB / 331.3 MB, free: 400 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004141/0.1647, allocations: 247.1 kB / 331.6 MB, free: 152 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1647, allocations: 0 / 331.6 MB, free: 152 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1647, allocations: 0 / 331.6 MB, free: 152 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1647, allocations: 0 / 331.6 MB, free: 152 kB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001464/0.1662, allocations: 0.5303 MB / 332.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/0.1663, allocations: 8.031 kB / 332.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001594/0.1665, allocations: 58.72 kB / 332.2 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.1666, allocations: 28.59 kB / 332.2 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.167, allocations: 224.7 kB / 332.4 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1671, allocations: 16.81 kB / 332.4 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.1672, allocations: 20.38 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007895/0.168, allocations: 225 kB / 332.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.168, allocations: 4 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.1681, allocations: 4 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1681, allocations: 4 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.1687, allocations: 143.9 kB / 332.8 MB, free: 14.79 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1709, allocations: 0.7948 MB / 333.6 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007548/0.1717, allocations: 197 kB / 333.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.1723, allocations: 105.9 kB / 333.9 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.1723, allocations: 8.172 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.1724, allocations: 46.59 kB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 3.186e-06/0.1724, allocations: 0 / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.002896/0.1753, allocations: 0.852 MB / 334.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.1754, allocations: 81.11 kB / 334.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1757, allocations: 186 kB / 335.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.1759, allocations: 29.64 kB / 335.1 MB, free: 12.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.176, allocations: 140.4 kB / 335.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.1763, allocations: 94.64 kB / 335.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.1764, allocations: 53.61 kB / 335.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.1766, allocations: 326.8 kB / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.177, allocations: 67.95 kB / 335.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.1773, allocations: 112.2 kB / 335.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.178, allocations: 180.2 kB / 336.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.178, allocations: 7.938 kB / 336.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008925/0.179, allocations: 241.1 kB / 336.3 MB, free: 11.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/0.179, allocations: 11.12 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.179, allocations: 0 / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.1791, allocations: 4 kB / 336.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.1796, allocations: 55.91 kB / 336.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.1797, allocations: 4 kB / 336.4 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.1799, allocations: 23.77 kB / 336.4 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.18, allocations: 12 kB / 336.4 MB, free: 10.91 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0002274/0.1802, allocations: 145.8 kB / 336.5 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.1804, allocations: 15.81 kB / 336.6 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.1805, allocations: 29.86 kB / 336.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.1805, allocations: 7.938 kB / 336.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.1805, allocations: 0 / 336.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.1806, allocations: 4 kB / 336.6 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.1822, allocations: 0.5877 MB / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1823, allocations: 0 / 337.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.1827, allocations: 59.91 kB / 337.3 MB, free: 9.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/0.1828, allocations: 4 kB / 337.3 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.1828, allocations: 8 kB / 337.3 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.1828, allocations: 3.938 kB / 337.3 MB, free: 9.977 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-05/0.1829, allocations: 8.094 kB / 337.3 MB, free: 9.969 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.1842, allocations: 485 kB / 337.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.1844, allocations: 104.8 kB / 337.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.1845, allocations: 4 kB / 337.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.1848, allocations: 15.94 kB / 337.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1849, allocations: 20.05 kB / 337.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.185, allocations: 8 kB / 337.9 MB, free: 9.301 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.1853, allocations: 132.3 kB / 338 MB, free: 9.172 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1853, allocations: 0 / 338 MB, free: 9.172 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007088/0.186, allocations: 52 kB / 338.1 MB, free: 9.121 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.001779/0.1878, allocations: 1.026 MB / 339.1 MB, free: 8.059 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008351/0.1887, allocations: 196 kB / 339.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1887, allocations: 0 / 339.3 MB, free: 7.867 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.1891, allocations: 99.98 kB / 339.4 MB, free: 7.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.1901, allocations: 41.7 kB / 339.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.1966, allocations: 2.63 MB / 342.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006068/0.1972, allocations: 0.7441 MB / 342.8 MB, free: 4.207 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.1975, allocations: 29.88 kB / 342.8 MB, free: 4.176 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.1977, allocations: 67.42 kB / 342.9 MB, free: 4.109 MB / 286.1 MB Notification: Performance of SimCode: time 1.313e-06/0.1977, allocations: 0 / 342.9 MB, free: 4.109 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04476/0.2425, allocations: 4.315 MB / 347.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.15, allocations: 7.75 kB / 347.2 MB, free: 15.72 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Oscillator.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches