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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003925/0.003925, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8495/0.8495, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.798e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002422/0.00244, allocations: 2.271 MB / 300.7 MB, free: 1.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.003279, allocations: 0.593 MB / 301.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.003389, allocations: 7.938 kB / 301.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.003508, allocations: 35.64 kB / 301.3 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003614, allocations: 75.3 kB / 301.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.003842, allocations: 55.91 kB / 301.5 MB, free: 468 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002195/0.004062, allocations: 262.7 kB / 301.7 MB, free: 204 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.004212, allocations: 65.69 kB / 301.8 MB, free: 144 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1477/0.1519, allocations: 152.8 kB / 301.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1521, allocations: 79.47 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.1522, allocations: 19.78 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.987e-05/0.1522, allocations: 20 kB / 302 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.1523, allocations: 49.08 kB / 302.1 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.1524, allocations: 77.73 kB / 302.2 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.1527, allocations: 262.3 kB / 302.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1527, allocations: 3.844 kB / 302.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1527, allocations: 0 / 302.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1527, allocations: 0 / 302.4 MB, free: 13.22 MB / 282.7 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.0005009/0.1532, allocations: 453.4 kB / 302.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1532, allocations: 16.83 kB / 302.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.1533, allocations: 54.28 kB / 302.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.1533, allocations: 25.86 kB / 303 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1536, allocations: 186.1 kB / 303.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1536, allocations: 13.11 kB / 303.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.1536, allocations: 23.09 kB / 303.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1539, allocations: 220 kB / 303.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1539, allocations: 0.8438 kB / 303.4 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1539, allocations: 12.73 kB / 303.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.154, allocations: 5.469 kB / 303.4 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.1542, allocations: 145.6 kB / 303.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.1549, allocations: 0.7079 MB / 304.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.1552, allocations: 185.3 kB / 304.5 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1554, allocations: 99.22 kB / 304.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1554, allocations: 4.359 kB / 304.6 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.1554, allocations: 41.17 kB / 304.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.1554, allocations: 0 / 304.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009812/0.1564, allocations: 0.7106 MB / 305.3 MB, free: 11.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.1564, allocations: 83.36 kB / 305.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1565, allocations: 176.9 kB / 305.6 MB, free: 11.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.1565, allocations: 30.7 kB / 305.6 MB, free: 11.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.1566, allocations: 144.1 kB / 305.7 MB, free: 11.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.1566, allocations: 96.77 kB / 305.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.1567, allocations: 48.98 kB / 305.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.775e-05/0.1567, allocations: 333.7 kB / 306.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.1568, allocations: 68.25 kB / 306.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1569, allocations: 104.2 kB / 306.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.1571, allocations: 184.8 kB / 306.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1571, allocations: 2.641 kB / 306.5 MB, free: 10.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002683/0.1574, allocations: 246.8 kB / 306.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.1574, allocations: 10.66 kB / 306.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1574, allocations: 2.234 kB / 306.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1574, allocations: 3.562 kB / 306.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1575, allocations: 59.06 kB / 306.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1575, allocations: 3.406 kB / 306.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.1576, allocations: 18.44 kB / 306.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.1576, allocations: 12.92 kB / 306.9 MB, free: 10.75 MB / 282.7 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 6.725e-05/0.1577, allocations: 142.4 kB / 307 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.1577, allocations: 26.73 kB / 307.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.1577, allocations: 28.67 kB / 307.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1578, allocations: 3.406 kB / 307.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1578, allocations: 0.7656 kB / 307.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1578, allocations: 3.547 kB / 307.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005105/0.1583, allocations: 0.524 MB / 307.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1583, allocations: 7.734 kB / 307.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.1584, allocations: 56.58 kB / 307.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1584, allocations: 6.031 kB / 307.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1584, allocations: 7.469 kB / 307.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1584, allocations: 2.531 kB / 307.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1584, allocations: 5.047 kB / 307.7 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.1588, allocations: 486.6 kB / 308.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.1589, allocations: 20.58 kB / 308.2 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1589, allocations: 11.12 kB / 308.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.159, allocations: 6.047 kB / 308.2 MB, free: 9.848 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.159, allocations: 27.2 kB / 308.2 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.159, allocations: 7.75 kB / 308.3 MB, free: 9.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.1591, allocations: 131.3 kB / 308.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1591, allocations: 0 / 308.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002174/0.1593, allocations: 50.91 kB / 308.4 MB, free: 9.742 MB / 282.7 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.0004755/0.1598, allocations: 1.025 MB / 309.5 MB, free: 8.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.16, allocations: 167.9 kB / 309.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.16, allocations: 1.062 kB / 309.6 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1601, allocations: 96.22 kB / 309.7 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1605, allocations: 42.25 kB / 309.8 MB, free: 8.805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1624, allocations: 2.551 MB / 312.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.717e-05/0.1625, allocations: 142.8 kB / 312.4 MB, free: 6.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.845e-05/0.1626, allocations: 26.14 kB / 312.5 MB, free: 6.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.1627, allocations: 72.22 kB / 312.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.1627, allocations: 0 / 312.5 MB, free: 6.797 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.1803, allocations: 5.206 MB / 317.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.051, allocations: 9.047 kB / 317.8 MB, free: 5.383 MB / 282.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.68036894313991]