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.001781/0.001781, allocations: 111.7 kB / 17.73 MB, free: 5.312 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.00154/0.00154, allocations: 188.2 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001651/0.001651, allocations: 56.39 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09416, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003707/0.09791, allocations: 2.463 MB / 377.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.09848, allocations: 247.1 kB / 377.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.09862, allocations: 11.94 kB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.0988, allocations: 43.58 kB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.09896, allocations: 87.19 kB / 377.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.09915, allocations: 71.84 kB / 377.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003684/0.09953, allocations: 326.4 kB / 377.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.09974, allocations: 99.09 kB / 378 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.0999, allocations: 115.6 kB / 378.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1001, allocations: 139.4 kB / 378.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1002, allocations: 24 kB / 378.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.585e-05/0.1002, allocations: 24 kB / 378.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.1003, allocations: 59.77 kB / 378.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.1004, allocations: 135.3 kB / 378.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.1008, allocations: 322.6 kB / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1008, allocations: 0 / 378.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1008, allocations: 7.938 kB / 378.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1008, allocations: 4 kB / 378.8 MB, free: 0.9102 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.0009038/0.1018, allocations: 0.565 MB / 379.3 MB, free: 296 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1018, allocations: 8.031 kB / 379.4 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.1019, allocations: 66.72 kB / 379.4 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.1019, allocations: 36.75 kB / 379.5 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1721/0.274, allocations: 234.8 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2741, allocations: 19.75 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/0.2742, allocations: 31.98 kB / 379.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.2746, allocations: 254.4 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.2747, allocations: 1.875 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.2747, allocations: 12.17 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.2747, allocations: 8.469 kB / 380 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.275, allocations: 182.1 kB / 380.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.2761, allocations: 0.7519 MB / 380.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.2765, allocations: 270 kB / 381.2 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.2766, allocations: 127.8 kB / 381.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.2767, allocations: 8.344 kB / 381.3 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2767, allocations: 38.61 kB / 381.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.335e-06/0.2767, allocations: 0 / 381.4 MB, free: 12.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=48): time 0.00253/0.2792, allocations: 1.721 MB / 383.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2793, allocations: 82.23 kB / 383.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.2794, allocations: 188.5 kB / 383.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2795, allocations: 35.8 kB / 383.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.2795, allocations: 139 kB / 383.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.2796, allocations: 181.2 kB / 383.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.2797, allocations: 74.91 kB / 383.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.2798, allocations: 342.6 kB / 384.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.28, allocations: 103.2 kB / 384.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.2802, allocations: 155.7 kB / 384.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.2805, allocations: 293.6 kB / 384.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2805, allocations: 0.875 kB / 384.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004626/0.281, allocations: 363.9 kB / 385 MB, free: 9.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.281, allocations: 5 kB / 385 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.281, allocations: 9.5 kB / 385 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.2811, allocations: 3.25 kB / 385 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.2814, allocations: 102.8 kB / 385.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2815, allocations: 4.203 kB / 385.1 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.2816, allocations: 10.75 kB / 385.1 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2816, allocations: 13.12 kB / 385.1 MB, free: 9.766 MB / 318.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.0001039/0.2817, allocations: 168 kB / 385.3 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.2818, allocations: 31.86 kB / 385.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.736e-05/0.2819, allocations: 39.64 kB / 385.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2819, allocations: 5.484 kB / 385.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2819, allocations: 1.75 kB / 385.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2819, allocations: 2.109 kB / 385.4 MB, free: 9.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.283, allocations: 0.9422 MB / 386.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.283, allocations: 2.078 kB / 386.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.2834, allocations: 90.95 kB / 386.4 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2834, allocations: 3.375 kB / 386.4 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2834, allocations: 11.77 kB / 386.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2835, allocations: 3.859 kB / 386.4 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2835, allocations: 8.875 kB / 386.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.2841, allocations: 0.6456 MB / 387.1 MB, free: 8.516 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.2842, allocations: 98.12 kB / 387.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.684e-05/0.2842, allocations: 11.98 kB / 387.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.2844, allocations: 11.88 kB / 387.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.2844, allocations: 27 kB / 387.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.2845, allocations: 13.73 kB / 387.3 MB, free: 8.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.338e-05/0.2846, allocations: 142.7 kB / 387.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2846, allocations: 0 / 387.4 MB, free: 8.285 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003606/0.2849, allocations: 78.53 kB / 387.5 MB, free: 8.273 MB / 318.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.0008128/0.2857, allocations: 1.192 MB / 388.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000457/0.2862, allocations: 300.5 kB / 389 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2862, allocations: 1.438 kB / 389 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.2864, allocations: 153.2 kB / 389.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005713/0.287, allocations: 74.89 kB / 389.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003186/0.2902, allocations: 3.284 MB / 392.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.2904, allocations: 0.7737 MB / 393.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.2906, allocations: 42.75 kB / 393.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.2907, allocations: 95.25 kB / 393.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2907, allocations: 1.281 kB / 393.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.32, allocations: 6.118 MB / 399.5 MB, free: 2.906 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.614/8.934, allocations: 5.266 kB / 399.5 MB, free: 2.902 MB / 318.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