Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2816, allocations: 50.54 MB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003691/0.2854, allocations: 2.504 MB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006045/0.286, allocations: 251.1 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.2862, allocations: 7.938 kB / 411.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2864, allocations: 39.58 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.2865, allocations: 95.19 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2868, allocations: 63.91 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003444/0.2871, allocations: 326.5 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.2873, allocations: 91.11 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.2875, allocations: 127.6 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.2876, allocations: 131.4 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.234e-05/0.2877, allocations: 24 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.219e-05/0.2877, allocations: 24 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.175e-05/0.2878, allocations: 55.83 kB / 412.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2879, allocations: 147.3 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.2883, allocations: 317.6 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2883, allocations: 0 / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2883, allocations: 0 / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2883, allocations: 0 / 412.9 MB, free: 13.34 MB / 334.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.0008411/0.2892, allocations: 0.5767 MB / 413.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.2892, allocations: 12.03 kB / 413.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.398e-05/0.2893, allocations: 62.67 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.2894, allocations: 32.75 kB / 413.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.2897, allocations: 259.9 kB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.2897, allocations: 16.94 kB / 413.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.2898, allocations: 32.31 kB / 413.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.2902, allocations: 255.1 kB / 414.1 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2902, allocations: 7.922 kB / 414.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.2903, allocations: 12 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2903, allocations: 4 kB / 414.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.2906, allocations: 175.9 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2916, allocations: 0.7463 MB / 415.1 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.292, allocations: 273.3 kB / 415.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.2922, allocations: 129.6 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2922, allocations: 4 kB / 415.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.2923, allocations: 38.55 kB / 415.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.2923, allocations: 0 / 415.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002655/0.295, allocations: 1.732 MB / 417.3 MB, free: 8.633 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.295, allocations: 85.11 kB / 417.3 MB, free: 8.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.2952, allocations: 190.2 kB / 417.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.2953, allocations: 33.7 kB / 417.6 MB, free: 8.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2954, allocations: 136.8 kB / 417.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2955, allocations: 186.4 kB / 417.9 MB, free: 7.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.2956, allocations: 74.27 kB / 417.9 MB, free: 7.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2957, allocations: 342.8 kB / 418.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2959, allocations: 101.1 kB / 418.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.2961, allocations: 161.5 kB / 418.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.2965, allocations: 282.1 kB / 418.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2965, allocations: 0 / 418.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004988/0.297, allocations: 366 kB / 419.2 MB, free: 6.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2971, allocations: 12 kB / 419.2 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.2971, allocations: 4 kB / 419.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.2971, allocations: 0 / 419.2 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/0.2975, allocations: 103.9 kB / 419.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2975, allocations: 0 / 419.3 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2976, allocations: 12 kB / 419.3 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.2977, allocations: 19.98 kB / 419.3 MB, free: 6.484 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.0001738/0.2978, allocations: 153.7 kB / 419.5 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.2979, allocations: 35.75 kB / 419.5 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.655e-05/0.298, allocations: 45.86 kB / 419.5 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.298, allocations: 4 kB / 419.5 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.298, allocations: 3.938 kB / 419.6 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.298, allocations: 4 kB / 419.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.2993, allocations: 0.9351 MB / 420.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2993, allocations: 8.062 kB / 420.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.2997, allocations: 95.89 kB / 420.6 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.2998, allocations: 7.938 kB / 420.6 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.2998, allocations: 8 kB / 420.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.2998, allocations: 4 kB / 420.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2998, allocations: 3.938 kB / 420.6 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.3005, allocations: 0.6436 MB / 421.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.924e-05/0.3006, allocations: 108.9 kB / 421.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.3007, allocations: 8 kB / 421.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3008, allocations: 15.94 kB / 421.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.3009, allocations: 23.97 kB / 421.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3009, allocations: 12 kB / 421.4 MB, free: 4.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.301, allocations: 139 kB / 421.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.301, allocations: 4 kB / 421.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.3014, allocations: 80 kB / 421.6 MB, free: 4.043 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.001058/0.3024, allocations: 1.192 MB / 422.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.3029, allocations: 300.4 kB / 423.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3029, allocations: 0 / 423.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.3031, allocations: 163.9 kB / 423.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.3037, allocations: 55.84 kB / 423.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.3073, allocations: 3.28 MB / 426.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3077, allocations: 0.7764 MB / 427.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.3078, allocations: 30.95 kB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.3079, allocations: 99.41 kB / 427.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3079, allocations: 4 kB / 427.5 MB, free: 13.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3317, allocations: 6.092 MB / 433.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.275, allocations: 7.922 kB / 433.6 MB, free: 8.008 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.InitialConditions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches