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.001263/0.001264, allocations: 118.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 202 kB / 18.74 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.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2741, allocations: 50.55 MB / 408.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003811/0.278, allocations: 2.493 MB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005842/0.2786, allocations: 263 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.2788, allocations: 4 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.279, allocations: 43.56 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2791, allocations: 95.12 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.2793, allocations: 59.92 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.2797, allocations: 322.5 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.2799, allocations: 99.12 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2801, allocations: 115.6 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.2803, allocations: 131.4 kB / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.2803, allocations: 24 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.459e-05/0.2804, allocations: 28 kB / 412.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.2804, allocations: 55.83 kB / 412.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2806, allocations: 151.2 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.281, allocations: 313.6 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.281, allocations: 4 kB / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.281, allocations: 0 / 412.9 MB, free: 13.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.281, allocations: 0 / 412.9 MB, free: 13.37 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.0008818/0.2819, allocations: 0.5728 MB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.282, allocations: 12.03 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.132e-05/0.2821, allocations: 62.72 kB / 413.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.2821, allocations: 32.75 kB / 413.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.2825, allocations: 251.9 kB / 413.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.2825, allocations: 20.94 kB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.2826, allocations: 28.38 kB / 413.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.283, allocations: 255.1 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.283, allocations: 15.86 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.2831, allocations: 8 kB / 414.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2831, allocations: 8 kB / 414.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003017/0.2834, allocations: 179.8 kB / 414.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.2845, allocations: 0.7424 MB / 415.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000436/0.2849, allocations: 273.2 kB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.2851, allocations: 133.7 kB / 415.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2852, allocations: 4 kB / 415.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2852, allocations: 34.56 kB / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.503e-06/0.2852, allocations: 0 / 415.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.002724/0.2879, allocations: 1.724 MB / 417.2 MB, free: 8.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.288, allocations: 89.05 kB / 417.3 MB, free: 8.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.2882, allocations: 186.2 kB / 417.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.2883, allocations: 33.7 kB / 417.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.2884, allocations: 140.8 kB / 417.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.2885, allocations: 186.4 kB / 417.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2886, allocations: 74.27 kB / 417.9 MB, free: 7.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2888, allocations: 342.8 kB / 418.3 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.289, allocations: 105.1 kB / 418.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2892, allocations: 161.4 kB / 418.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.2896, allocations: 278.1 kB / 418.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2896, allocations: 0 / 418.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005196/0.2901, allocations: 370 kB / 419.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2902, allocations: 4 kB / 419.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2902, allocations: 4 kB / 419.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2902, allocations: 4.062 kB / 419.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.2906, allocations: 107.9 kB / 419.3 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2906, allocations: 3.938 kB / 419.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.2907, allocations: 12 kB / 419.3 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.2908, allocations: 16 kB / 419.3 MB, free: 6.516 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.0001553/0.2909, allocations: 145.8 kB / 419.5 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.291, allocations: 35.75 kB / 419.5 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.071e-05/0.2911, allocations: 41.86 kB / 419.5 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.2911, allocations: 4 kB / 419.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2911, allocations: 4 kB / 419.5 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2911, allocations: 3.984 kB / 419.5 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.2925, allocations: 0.9429 MB / 420.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2925, allocations: 4 kB / 420.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004341/0.293, allocations: 99.83 kB / 420.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.293, allocations: 8 kB / 420.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.293, allocations: 11.94 kB / 420.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.293, allocations: 4 kB / 420.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.293, allocations: 0 / 420.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.2938, allocations: 0.6436 MB / 421.3 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.2939, allocations: 108.9 kB / 421.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.2939, allocations: 11.94 kB / 421.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.2941, allocations: 8 kB / 421.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.2942, allocations: 27.97 kB / 421.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.2942, allocations: 15.98 kB / 421.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.2943, allocations: 127.1 kB / 421.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2943, allocations: 0 / 421.6 MB, free: 4.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003783/0.2947, allocations: 84 kB / 421.6 MB, free: 4.086 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.001184/0.2959, allocations: 1.196 MB / 422.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000493/0.2964, allocations: 300.5 kB / 423.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2964, allocations: 0 / 423.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.2966, allocations: 163.9 kB / 423.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/0.2972, allocations: 59.47 kB / 423.3 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.3014, allocations: 3.273 MB / 426.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.3018, allocations: 0.7764 MB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.302, allocations: 42.94 kB / 427.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.3022, allocations: 99.41 kB / 427.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3022, allocations: 0 / 427.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03304/0.3352, allocations: 6.092 MB / 433.6 MB, free: 8.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.163/8.499, allocations: 3.984 kB / 433.6 MB, free: 8.043 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.1.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