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.001661/0.001661, allocations: 113.3 kB / 17.06 MB, free: 5.965 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.001778/0.001778, allocations: 197.3 kB / 18.01 MB, free: 5.047 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.397/1.397, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 52.06 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2704, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003626/0.2741, allocations: 2.484 MB / 402.7 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005001/0.2746, allocations: 255 kB / 403 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2748, allocations: 8 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2749, allocations: 47.56 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2751, allocations: 87.14 kB / 403.1 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2753, allocations: 63.91 kB / 403.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003386/0.2756, allocations: 318.5 kB / 403.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.2758, allocations: 107.1 kB / 403.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.276, allocations: 111.6 kB / 403.7 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.2762, allocations: 139.4 kB / 403.8 MB, free: 5.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.408e-05/0.2762, allocations: 24 kB / 403.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.852e-05/0.2763, allocations: 24 kB / 403.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.2763, allocations: 51.84 kB / 403.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.2765, allocations: 151.3 kB / 404.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.2769, allocations: 321.8 kB / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2769, allocations: 0 / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2769, allocations: 0 / 404.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.2769, allocations: 3.938 kB / 404.4 MB, free: 4.656 MB / 318.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.0008943/0.2778, allocations: 0.5689 MB / 405 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2778, allocations: 12.03 kB / 405 MB, free: 4.02 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.547e-05/0.2779, allocations: 62.72 kB / 405 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.278, allocations: 32.75 kB / 405.1 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.2783, allocations: 255.9 kB / 405.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.2784, allocations: 20.94 kB / 405.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.2784, allocations: 32.33 kB / 405.4 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.2789, allocations: 255.1 kB / 405.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.2789, allocations: 3.938 kB / 405.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.2789, allocations: 12 kB / 405.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2789, allocations: 4 kB / 405.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.2793, allocations: 179.8 kB / 405.8 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2803, allocations: 0.7461 MB / 406.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.2808, allocations: 284.8 kB / 406.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.281, allocations: 121.7 kB / 406.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.281, allocations: 4.625 kB / 407 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.2811, allocations: 34.56 kB / 407 MB, free: 1.859 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 1.432e-06/0.2811, allocations: 3.938 kB / 407 MB, free: 1.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.002792/0.2839, allocations: 1.716 MB / 408.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.2839, allocations: 85.11 kB / 408.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.2841, allocations: 178.3 kB / 409 MB, free: 15.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2842, allocations: 33.7 kB / 409 MB, free: 15.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.2843, allocations: 140.8 kB / 409.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2844, allocations: 182.3 kB / 409.3 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2846, allocations: 86.2 kB / 409.4 MB, free: 15.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2847, allocations: 334.8 kB / 409.7 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.2849, allocations: 105.1 kB / 409.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.2852, allocations: 161.4 kB / 410 MB, free: 14.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.2856, allocations: 278.8 kB / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2856, allocations: 0 / 410.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005324/0.2862, allocations: 377.9 kB / 410.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.2862, allocations: 14.88 kB / 410.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2862, allocations: 0 / 410.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2862, allocations: 8 kB / 410.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.2866, allocations: 95.89 kB / 410.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2866, allocations: 7.938 kB / 410.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.2867, allocations: 8 kB / 410.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.2868, allocations: 16 kB / 410.8 MB, free: 13.82 MB / 334.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.0001423/0.2869, allocations: 146.3 kB / 410.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.287, allocations: 35.73 kB / 410.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.546e-05/0.2871, allocations: 45.86 kB / 411 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2871, allocations: 4 kB / 411 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.2871, allocations: 4 kB / 411 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.2871, allocations: 3.984 kB / 411 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.2885, allocations: 0.9427 MB / 411.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2885, allocations: 4.062 kB / 412 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.2889, allocations: 103.8 kB / 412.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.289, allocations: 7.938 kB / 412.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.289, allocations: 12 kB / 412.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.289, allocations: 0 / 412.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.289, allocations: 4 kB / 412.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008499/0.2899, allocations: 0.6434 MB / 412.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/0.29, allocations: 108.8 kB / 412.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.29, allocations: 12 kB / 412.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2902, allocations: 8 kB / 412.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.2902, allocations: 23.97 kB / 412.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2902, allocations: 15.98 kB / 412.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.2904, allocations: 136.3 kB / 413 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2904, allocations: 0 / 413 MB, free: 11.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.2907, allocations: 80 kB / 413.1 MB, free: 11.38 MB / 334.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.001191/0.2919, allocations: 1.199 MB / 414.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.2925, allocations: 294.7 kB / 414.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2925, allocations: 0 / 414.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.2927, allocations: 151.8 kB / 414.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.2933, allocations: 68.2 kB / 414.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.2974, allocations: 3.292 MB / 418.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.2979, allocations: 0.7765 MB / 418.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.298, allocations: 34.94 kB / 418.9 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2982, allocations: 99.41 kB / 419 MB, free: 5.305 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2982, allocations: 0 / 419 MB, free: 5.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03045/0.3286, allocations: 6.103 MB / 425.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.501, allocations: 7.656 kB / 425.1 MB, free: 15.33 MB / 350.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