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.001178/0.001178, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001322/0.001322, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 55.22 kB / 307 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 50.54 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.004188/0.1098, allocations: 2.499 MB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000777/0.1106, allocations: 251.1 kB / 360.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.111, allocations: 7.938 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1112, allocations: 47.56 kB / 360.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1116, allocations: 91.2 kB / 360.5 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1119, allocations: 59.91 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.1124, allocations: 322.5 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002359/0.1126, allocations: 103.1 kB / 360.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.1128, allocations: 119.6 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1131, allocations: 131.4 kB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1131, allocations: 24 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.1132, allocations: 24 kB / 361.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.1133, allocations: 51.84 kB / 361.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.1135, allocations: 147.3 kB / 361.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.1138, allocations: 315.1 kB / 361.7 MB, free: 9.793 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.1139, allocations: 4 kB / 361.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.948e-06/0.1139, allocations: 0 / 361.7 MB, free: 9.789 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.1139, allocations: 0 / 361.7 MB, free: 9.789 MB / 302.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.001008/0.1149, allocations: 0.5614 MB / 362.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.115, allocations: 12.03 kB / 362.3 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.015e-05/0.1151, allocations: 62.72 kB / 362.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1151, allocations: 32.56 kB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1155, allocations: 247.9 kB / 362.6 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1155, allocations: 16.94 kB / 362.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.1156, allocations: 40.27 kB / 362.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000465/0.116, allocations: 251.1 kB / 362.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1161, allocations: 7.922 kB / 363 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1161, allocations: 12 kB / 363 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1161, allocations: 8 kB / 363 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1164, allocations: 175.9 kB / 363.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1176, allocations: 0.7458 MB / 363.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.118, allocations: 273.3 kB / 364.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.1182, allocations: 129.9 kB / 364.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1182, allocations: 7.938 kB / 364.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1183, allocations: 34.56 kB / 364.3 MB, free: 7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 3.166e-06/0.1183, allocations: 0 / 364.3 MB, free: 7 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.002783/0.1211, allocations: 1.713 MB / 366 MB, free: 5.121 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1211, allocations: 85.05 kB / 366.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1213, allocations: 194.1 kB / 366.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.1214, allocations: 33.7 kB / 366.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.315e-05/0.1215, allocations: 140.7 kB / 366.5 MB, free: 4.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.1216, allocations: 173.5 kB / 366.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1218, allocations: 74.17 kB / 366.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1219, allocations: 342.8 kB / 367.1 MB, free: 4.035 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1221, allocations: 101.1 kB / 367.2 MB, free: 3.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.1223, allocations: 161.5 kB / 367.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.1227, allocations: 278.2 kB / 367.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1227, allocations: 0 / 367.6 MB, free: 3.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005181/0.1232, allocations: 373.9 kB / 368 MB, free: 3.113 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1233, allocations: 4 kB / 368 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.1233, allocations: 0 / 368 MB, free: 3.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1233, allocations: 7.938 kB / 368 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.1237, allocations: 99.89 kB / 368.1 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1237, allocations: 4 kB / 368.1 MB, free: 3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1238, allocations: 12 kB / 368.1 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1239, allocations: 12 kB / 368.1 MB, free: 2.977 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.0001508/0.124, allocations: 161.7 kB / 368.2 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.1241, allocations: 31.56 kB / 368.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.963e-05/0.1242, allocations: 37.86 kB / 368.3 MB, free: 2.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1242, allocations: 8 kB / 368.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1242, allocations: 0 / 368.3 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1242, allocations: 3.984 kB / 368.3 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1256, allocations: 0.9545 MB / 369.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.1257, allocations: 3.984 kB / 369.3 MB, free: 1.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004407/0.1261, allocations: 95.89 kB / 369.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.1261, allocations: 4 kB / 369.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.1262, allocations: 8 kB / 369.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1262, allocations: 4.062 kB / 369.4 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.1262, allocations: 7.938 kB / 369.4 MB, free: 1.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000829/0.127, allocations: 0.6355 MB / 370 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.1271, allocations: 108.7 kB / 370.1 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.1272, allocations: 12 kB / 370.2 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.1274, allocations: 16 kB / 370.2 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1274, allocations: 19.97 kB / 370.2 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.1275, allocations: 16 kB / 370.2 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.1276, allocations: 135.2 kB / 370.3 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1276, allocations: 3.938 kB / 370.3 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000404/0.128, allocations: 76 kB / 370.4 MB, free: 0.5273 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.1662/0.2942, allocations: 1.187 MB / 371.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007268/0.2949, allocations: 316.7 kB / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.295, allocations: 0 / 371.9 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.2952, allocations: 158.6 kB / 372.1 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.296, allocations: 70.7 kB / 372.1 MB, free: 19.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003761/0.2997, allocations: 3.269 MB / 375.4 MB, free: 17.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.3, allocations: 0.7797 MB / 376.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001599/0.3002, allocations: 36.94 kB / 376.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3003, allocations: 96.94 kB / 376.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3003, allocations: 0 / 376.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.3288, allocations: 5.998 MB / 382.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/8.631, allocations: 5.125 kB / 382.3 MB, free: 15.92 MB / 302.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