Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 111.6 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 214.7 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2207/0.2207, allocations: 44.91 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 63.91 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 65.47 MB / 0.557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008875/0.3272, allocations: 6.823 MB / 0.5637 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004856/0.3321, allocations: 2.475 MB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.3329, allocations: 35.88 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.3351, allocations: 1.066 MB / 0.5672 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.3372, allocations: 0.8714 MB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.338, allocations: 311.2 kB / 0.5683 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.3406, allocations: 1.865 MB / 0.5701 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.3422, allocations: 1.095 MB / 0.5712 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.3434, allocations: 0.7122 MB / 0.5719 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.3452, allocations: 1.066 MB / 0.5729 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.3455, allocations: 128 kB / 0.5731 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.347, allocations: 0.7682 MB / 0.5738 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009896/0.348, allocations: 0.9501 MB / 0.5747 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.3491, allocations: 1.125 MB / 0.5758 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004497/0.3536, allocations: 3.734 MB / 0.5795 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.3536, allocations: 0 / 0.5795 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3536, allocations: 0 / 0.5795 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.768e-05/0.3537, allocations: 0 / 0.5795 GB, free: 0.6445 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005249/0.359, allocations: 2.643 MB / 0.5821 GB, free: 13.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.359, allocations: 12.03 kB / 0.5821 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005965/0.3596, allocations: 462.4 kB / 0.5825 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005185/0.3648, allocations: 1.575 MB / 0.5841 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002505/0.3673, allocations: 1.019 MB / 0.5851 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.3674, allocations: 123.3 kB / 0.5852 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/0.3678, allocations: 159.8 kB / 0.5853 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009857/0.3777, allocations: 6.178 MB / 0.5914 GB, free: 3.914 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.771e-05/0.3777, allocations: 23.75 kB / 0.5914 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.378, allocations: 83.89 kB / 0.5915 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002469/0.3804, allocations: 1.433 MB / 0.5929 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009882/0.3903, allocations: 5.408 MB / 0.5981 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/0.419, allocations: 24.71 MB / 0.6223 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.4232, allocations: 1.801 MB / 0.624 GB, free: 1.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.4244, allocations: 0.8824 MB / 0.6249 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.4246, allocations: 95.72 kB / 0.625 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.4247, allocations: 50.56 kB / 0.625 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.296e-06/0.4247, allocations: 0 / 0.625 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02205/0.4468, allocations: 8.338 MB / 0.6332 GB, free: 8.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.4468, allocations: 144.5 kB / 0.6333 GB, free: 7.973 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003625/0.4505, allocations: 2.64 MB / 0.6359 GB, free: 5.309 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.4506, allocations: 37.7 kB / 0.6359 GB, free: 5.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.4523, allocations: 2.104 MB / 0.638 GB, free: 3.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.4528, allocations: 452.6 kB / 0.6384 GB, free: 2.695 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/0.4539, allocations: 0.8773 MB / 0.6393 GB, free: 1.805 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.454, allocations: 301.1 kB / 0.6396 GB, free: 1.508 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/0.456, allocations: 1.336 MB / 0.6409 GB, free: 168 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004355/0.4604, allocations: 4.108 MB / 0.6449 GB, free: 10.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007124/0.4675, allocations: 5.937 MB / 0.6507 GB, free: 3.332 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-05/0.4675, allocations: 28 kB / 0.6507 GB, free: 3.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009745/0.4773, allocations: 5.491 MB / 0.6561 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.325e-05/0.4774, allocations: 48 kB / 0.6561 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/0.4775, allocations: 100 kB / 0.6562 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4786, allocations: 465 kB / 0.6566 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002882/0.4815, allocations: 0.9747 MB / 0.6576 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.486, allocations: 3.573 MB / 0.6611 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/0.4886, allocations: 231.7 kB / 0.6613 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/0.489, allocations: 272 kB / 0.6616 GB, free: 8.051 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002025/0.4911, allocations: 1.365 MB / 0.6629 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/0.4915, allocations: 230.4 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.4939, allocations: 1.322 MB / 0.6644 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.587e-05/0.494, allocations: 12 kB / 0.6644 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.494, allocations: 4 kB / 0.6644 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.494, allocations: 3.984 kB / 0.6644 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007308/0.5013, allocations: 4.182 MB / 0.6685 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5013, allocations: 0 / 0.6685 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00063/0.5019, allocations: 139.8 kB / 0.6686 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008855/0.5028, allocations: 316.5 kB / 0.6689 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.038e-05/0.5029, allocations: 20 kB / 0.669 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.5065, allocations: 2.966 MB / 0.6719 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5065, allocations: 4 kB / 0.6719 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.5111, allocations: 3.082 MB / 0.6749 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/0.5116, allocations: 206.3 kB / 0.6751 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.5118, allocations: 16 kB / 0.6751 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.5125, allocations: 47.94 kB / 0.6751 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5126, allocations: 64.31 kB / 0.6752 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.5127, allocations: 32 kB / 0.6752 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002709/0.5154, allocations: 1.625 MB / 0.6768 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5154, allocations: 0 / 0.6768 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002981/0.5184, allocations: 0.5897 MB / 0.6774 GB, free: 7.613 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005035/0.5234, allocations: 3.691 MB / 0.681 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005046/0.5285, allocations: 3.101 MB / 0.684 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.5285, allocations: 1.688 kB / 0.684 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.5296, allocations: 0.8092 MB / 0.6848 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5309, allocations: 210.7 kB / 0.685 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/0.5696, allocations: 28.41 MB / 0.7128 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002269/0.5718, allocations: 2.167 MB / 0.7149 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002865/0.5747, allocations: 1.391 MB / 0.7162 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001342/0.576, allocations: 1.015 MB / 0.7172 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of SimCode: time 1.252e-06/0.576, allocations: 0 / 0.7172 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3021/0.8781, allocations: 42.17 MB / 0.7584 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.86/21.74, allocations: 1.719 kB / 0.7584 GB, free: 141.4 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.82194074599829]