Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.InitialConditions,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_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.001868/0.001868, allocations: 104.1 kB / 17.58 MB, free: 5.426 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.002667/0.002668, allocations: 187.9 kB / 18.5 MB, free: 4.512 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.883/2.883, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.002346/0.002346, allocations: 52.16 kB / 280.8 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1651, allocations: 46.62 MB / 327.4 MB, free: 4.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.005648/0.1709, allocations: 2.455 MB / 329.8 MB, free: 1.914 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000908/0.1718, allocations: 255 kB / 330.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002986/0.1722, allocations: 4 kB / 330.1 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1724, allocations: 55.45 kB / 330.1 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.1728, allocations: 95.12 kB / 330.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.173, allocations: 63.92 kB / 330.3 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.1736, allocations: 314.5 kB / 330.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.1739, allocations: 103.3 kB / 330.7 MB, free: 1.039 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.1741, allocations: 123.6 kB / 330.8 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002471/0.1743, allocations: 123.5 kB / 330.9 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.1744, allocations: 28 kB / 331 MB, free: 0.7695 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.1744, allocations: 24 kB / 331 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.416e-05/0.1745, allocations: 59.77 kB / 331.1 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1747, allocations: 143.3 kB / 331.2 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.1751, allocations: 314.8 kB / 331.5 MB, free: 244 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1751, allocations: 8 kB / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1751, allocations: 0 / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.1751, allocations: 0 / 331.5 MB, free: 236 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001162/0.1763, allocations: 0.5536 MB / 332.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/0.1763, allocations: 12.03 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1765, allocations: 62.72 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.1766, allocations: 32.56 kB / 332.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1769, allocations: 251.7 kB / 332.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.1769, allocations: 20.94 kB / 332.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.102e-05/0.177, allocations: 28.38 kB / 332.5 MB, free: 15.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005312/0.1775, allocations: 255.1 kB / 332.7 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.1776, allocations: 15.78 kB / 332.7 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.1776, allocations: 12 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1776, allocations: 8 kB / 332.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.178, allocations: 171.9 kB / 332.9 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.1793, allocations: 0.75 MB / 333.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.1797, allocations: 277 kB / 333.9 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.1799, allocations: 121.7 kB / 334.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.18, allocations: 4 kB / 334.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.18, allocations: 38.56 kB / 334.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=36): time 2.023e-06/0.18, allocations: 0 / 334.1 MB, free: 13.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.003192/0.1832, allocations: 1.708 MB / 335.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.1833, allocations: 81.11 kB / 335.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1836, allocations: 182.3 kB / 336.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.1836, allocations: 37.7 kB / 336.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.1838, allocations: 140.7 kB / 336.2 MB, free: 11.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.1839, allocations: 177.3 kB / 336.4 MB, free: 10.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.1841, allocations: 78.25 kB / 336.5 MB, free: 10.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1843, allocations: 342.8 kB / 336.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.1845, allocations: 105.1 kB / 336.9 MB, free: 10.38 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.1847, allocations: 153.5 kB / 337.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.1852, allocations: 282.1 kB / 337.3 MB, free: 9.934 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1853, allocations: 0 / 337.3 MB, free: 9.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006212/0.1859, allocations: 377.8 kB / 337.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.1859, allocations: 15.22 kB / 337.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1859, allocations: 0 / 337.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.186, allocations: 4 kB / 337.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.1864, allocations: 103.8 kB / 337.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/0.1864, allocations: 7.984 kB / 337.8 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1866, allocations: 8 kB / 337.9 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.1866, allocations: 16 kB / 337.9 MB, free: 9.41 MB / 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 (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.00019/0.1868, allocations: 157.8 kB / 338 MB, free: 9.246 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.1869, allocations: 31.66 kB / 338.1 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.841e-05/0.187, allocations: 33.88 kB / 338.1 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.187, allocations: 4 kB / 338.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.187, allocations: 4 kB / 338.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.1871, allocations: 3.984 kB / 338.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.1885, allocations: 0.9556 MB / 339.1 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1886, allocations: 3.984 kB / 339.1 MB, free: 8.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.189, allocations: 95.91 kB / 339.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.189, allocations: 0 / 339.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.1891, allocations: 16.05 kB / 339.2 MB, free: 8.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.1891, allocations: 4 kB / 339.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1891, allocations: 0 / 339.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008948/0.19, allocations: 0.6395 MB / 339.8 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.1901, allocations: 96.83 kB / 339.9 MB, free: 7.25 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.1902, allocations: 16 kB / 339.9 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1904, allocations: 8 kB / 339.9 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.1904, allocations: 31.81 kB / 340 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1905, allocations: 12 kB / 340 MB, free: 7.184 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1906, allocations: 132.3 kB / 340.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1906, allocations: 0 / 340.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004327/0.191, allocations: 80 kB / 340.2 MB, free: 6.977 MB / 286.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.001231/0.1923, allocations: 1.188 MB / 341.4 MB, free: 5.762 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006612/0.1929, allocations: 310.6 kB / 341.7 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.193, allocations: 128 / 341.7 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.1932, allocations: 172.4 kB / 341.8 MB, free: 5.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/0.1942, allocations: 67.89 kB / 341.9 MB, free: 5.223 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.1991, allocations: 3.272 MB / 345.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1996, allocations: 0.7726 MB / 345.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.1998, allocations: 30.95 kB / 346 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.2, allocations: 99.41 kB / 346.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2, allocations: 0 / 346.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0443/0.2443, allocations: 5.995 MB / 352.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.84, allocations: 11.73 kB / 352.1 MB, free: 10.84 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/InitialConditions/InitialConditions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches