Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",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.001892/0.001892, allocations: 109.6 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.001985/0.001985, 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 2.394/2.394, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 54.5 kB / 300.7 MB, free: 5.742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.157, allocations: 49.44 MB / 350.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005088/0.1621, allocations: 2.487 MB / 352.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1632, allocations: 251 kB / 352.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004499/0.1637, allocations: 4 kB / 352.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1641, allocations: 47.56 kB / 352.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.1646, allocations: 91.14 kB / 353 MB, free: 1.406 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003826/0.165, allocations: 67.91 kB / 353.1 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006585/0.1656, allocations: 306.6 kB / 353.4 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.166, allocations: 111 kB / 353.5 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.1662, allocations: 111.6 kB / 353.6 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1665, allocations: 131.4 kB / 353.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.1666, allocations: 28 kB / 353.8 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.595e-05/0.1667, allocations: 28 kB / 353.8 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.1668, allocations: 51.84 kB / 353.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.167, allocations: 147.3 kB / 354 MB, free: 448 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.1674, allocations: 315.1 kB / 354.3 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.1674, allocations: 4 kB / 354.3 MB, free: 128 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.388e-06/0.1674, allocations: 0 / 354.3 MB, free: 128 kB / 286.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.1675, allocations: 0 / 354.3 MB, free: 128 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00118/0.1686, allocations: 0.5653 MB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.1687, allocations: 8.031 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.264e-05/0.1688, allocations: 66.72 kB / 354.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1689, allocations: 36.55 kB / 355 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.1693, allocations: 244.3 kB / 355.2 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.1693, allocations: 20.94 kB / 355.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.81e-05/0.1694, allocations: 28.38 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.1699, allocations: 251.1 kB / 355.5 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.1699, allocations: 15.78 kB / 355.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1699, allocations: 8 kB / 355.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.1699, allocations: 8 kB / 355.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.1703, allocations: 175.9 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.1715, allocations: 0.7497 MB / 356.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.1721, allocations: 273 kB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1723, allocations: 125.7 kB / 356.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1723, allocations: 8.562 kB / 356.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.1723, allocations: 38.56 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.414e-06/0.1724, allocations: 0 / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.003604/0.176, allocations: 1.717 MB / 358.6 MB, free: 11.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.1761, allocations: 81.11 kB / 358.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1763, allocations: 182.2 kB / 358.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.1764, allocations: 33.7 kB / 358.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1766, allocations: 140.7 kB / 359 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.1768, allocations: 177.4 kB / 359.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1769, allocations: 86.19 kB / 359.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1771, allocations: 334.8 kB / 359.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.1773, allocations: 105.1 kB / 359.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/0.1775, allocations: 157.5 kB / 359.9 MB, free: 10.1 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/0.1779, allocations: 284 kB / 360.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.178, allocations: 0 / 360.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005558/0.1785, allocations: 369.8 kB / 360.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1786, allocations: 8 kB / 360.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1786, allocations: 0 / 360.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.1786, allocations: 4 kB / 360.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.179, allocations: 107.9 kB / 360.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.179, allocations: 4 kB / 360.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.1792, allocations: 8 kB / 360.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.1792, allocations: 16 kB / 360.7 MB, free: 9.305 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001686/0.1794, allocations: 146.3 kB / 360.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.1795, allocations: 31.66 kB / 360.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.044e-05/0.1796, allocations: 41.86 kB / 360.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1796, allocations: 4 kB / 360.9 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.1796, allocations: 4 kB / 360.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1796, allocations: 7.984 kB / 360.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.181, allocations: 0.9552 MB / 361.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1811, allocations: 0 / 361.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.1815, allocations: 99.89 kB / 361.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1815, allocations: 0 / 361.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.1816, allocations: 12 kB / 362 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1816, allocations: 4 kB / 362 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1816, allocations: 0 / 362 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008506/0.1825, allocations: 0.6488 MB / 362.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.1826, allocations: 100.8 kB / 362.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.1826, allocations: 12 kB / 362.7 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.1828, allocations: 4 kB / 362.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.074e-05/0.1829, allocations: 27.97 kB / 362.8 MB, free: 7.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.1829, allocations: 15.98 kB / 362.8 MB, free: 7.086 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001183/0.183, allocations: 144.2 kB / 362.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.183, allocations: 0 / 362.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004118/0.1835, allocations: 80 kB / 363 MB, free: 6.867 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.001255/0.1847, allocations: 1.192 MB / 364.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005985/0.1853, allocations: 317.5 kB / 364.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1853, allocations: 0 / 364.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.1856, allocations: 151.8 kB / 364.6 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007379/0.1863, allocations: 79.88 kB / 364.7 MB, free: 5.109 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004508/0.1909, allocations: 3.276 MB / 368 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1913, allocations: 0.7764 MB / 368.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.1914, allocations: 38.95 kB / 368.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.1916, allocations: 95.41 kB / 368.9 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1916, allocations: 0 / 368.9 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3509/0.5426, allocations: 5.99 MB / 374.9 MB, free: 25.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.2, allocations: 8.078 kB / 374.9 MB, free: 25.32 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches