Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001525/0.001525, allocations: 124.5 kB / 17.79 MB, free: 5.246 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.001658/0.001658, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.469/1.469, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2161/0.2161, allocations: 44.91 MB / 355.1 MB, free: 12.31 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.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",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.001951/0.001951, allocations: 71.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1186, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01236/0.131, allocations: 10.39 MB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007926/0.1389, allocations: 3.911 MB / 0.5657 GB, free: 11.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1402, allocations: 75.62 kB / 0.5658 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004159/0.1444, allocations: 2.094 MB / 0.5678 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.1486, allocations: 1.716 MB / 0.5695 GB, free: 7.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.1504, allocations: 0.6979 MB / 0.5702 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005927/0.1563, allocations: 3.989 MB / 0.5741 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.1593, allocations: 2.215 MB / 0.5763 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.1615, allocations: 1.328 MB / 0.5776 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.1644, allocations: 1.998 MB / 0.5795 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006999/0.1651, allocations: 268 kB / 0.5798 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.1674, allocations: 1.217 MB / 0.581 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001861/0.1693, allocations: 1.714 MB / 0.5826 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.1717, allocations: 1.949 MB / 0.5845 GB, free: 8.387 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.1796, allocations: 6.342 MB / 0.5907 GB, free: 2.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1796, allocations: 4 kB / 0.5907 GB, free: 2.016 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1796, allocations: 0 / 0.5907 GB, free: 2.016 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000173/0.1798, allocations: 0 / 0.5907 GB, free: 2.016 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.2385/0.4183, allocations: 4.442 MB / 0.5951 GB, free: 36.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4183, allocations: 9.5 kB / 0.5951 GB, free: 36.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001285/0.4196, allocations: 0.6257 MB / 0.5957 GB, free: 36.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0899/0.5095, allocations: 7.055 MB / 0.6026 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/0.5155, allocations: 2.628 MB / 0.6051 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.5156, allocations: 203.7 kB / 0.6053 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00087/0.5165, allocations: 271.2 kB / 0.6056 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.5309, allocations: 8.533 MB / 0.6139 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001812/0.531, allocations: 40.08 kB / 0.614 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007462/0.5318, allocations: 129.6 kB / 0.6141 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002584/0.5344, allocations: 1.734 MB / 0.6158 GB, free: 28.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.5469, allocations: 7.172 MB / 0.6228 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03599/0.5829, allocations: 33.85 MB / 0.6558 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009343/0.5922, allocations: 3.308 MB / 0.6591 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.5946, allocations: 1.515 MB / 0.6606 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01259/0.6072, allocations: 7.322 MB / 0.6677 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.6073, allocations: 43.56 kB / 0.6677 GB, free: 7.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=151): time 4.97e-06/0.6073, allocations: 0 / 0.6677 GB, free: 7.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.06918/0.6764, allocations: 19.21 MB / 0.6865 GB, free: 3.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.6766, allocations: 205.2 kB / 0.6867 GB, free: 3.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006094/0.6827, allocations: 3.755 MB / 0.6904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.683, allocations: 49.7 kB / 0.6904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.6855, allocations: 2.937 MB / 0.6933 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000938/0.6864, allocations: 0.7404 MB / 0.694 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002094/0.6885, allocations: 1.179 MB / 0.6952 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6886, allocations: 305.1 kB / 0.6955 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/0.6923, allocations: 2.1 MB / 0.6975 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006874/0.6992, allocations: 5.66 MB / 0.703 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.7101, allocations: 8.419 MB / 0.7113 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.933e-05/0.7102, allocations: 32 kB / 0.7113 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01841/0.7286, allocations: 8.695 MB / 0.7198 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.7288, allocations: 62.03 kB / 0.7198 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001716/0.7289, allocations: 124 kB / 0.72 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005313/0.7343, allocations: 1.387 MB / 0.7213 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.7385, allocations: 1.294 MB / 0.7226 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01489/0.7534, allocations: 9.217 MB / 0.7316 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004073/0.7575, allocations: 307.6 kB / 0.7319 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008652/0.7584, allocations: 360.8 kB / 0.7322 GB, free: 1.102 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (695): * Single equations (assignments): 691 * 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,44,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003416/0.7618, allocations: 1.895 MB / 0.7341 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007704/0.7626, allocations: 349.7 kB / 0.7344 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009427/0.772, allocations: 3.747 MB / 0.7381 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/0.772, allocations: 23.94 kB / 0.7381 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/0.772, allocations: 8.469 kB / 0.7381 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.176e-05/0.7721, allocations: 11.97 kB / 0.7381 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/0.7902, allocations: 8.144 MB / 0.746 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.48e-05/0.7902, allocations: 4 kB / 0.7461 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/0.7916, allocations: 247.6 kB / 0.7463 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004955/0.7965, allocations: 1.183 MB / 0.7474 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/0.7968, allocations: 35.98 kB / 0.7475 GB, free: 1.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/0.8109, allocations: 8.464 MB / 0.7557 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8109, allocations: 0 / 0.7557 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.8232, allocations: 6.288 MB / 0.7619 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/0.8241, allocations: 390.6 kB / 0.7623 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005906/0.8247, allocations: 28 kB / 0.7623 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/0.8262, allocations: 83.91 kB / 0.7624 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003364/0.8266, allocations: 121 kB / 0.7625 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.8267, allocations: 55.98 kB / 0.7625 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003953/0.8307, allocations: 2.32 MB / 0.7648 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8307, allocations: 3.938 kB / 0.7648 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004456/0.8351, allocations: 0.9569 MB / 0.7657 GB, free: 14.49 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * 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,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01261/0.8477, allocations: 6.989 MB / 0.7726 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008272/0.856, allocations: 5.021 MB / 0.7775 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.856, allocations: 1.938 kB / 0.7775 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/0.8586, allocations: 1.624 MB / 0.7791 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.8612, allocations: 415.5 kB / 0.7794 GB, free: 428 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08048/0.9416, allocations: 44.27 MB / 0.8227 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004867/0.9465, allocations: 2.965 MB / 0.8256 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004981/0.9515, allocations: 1.814 MB / 0.8273 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002964/0.9545, allocations: 1.651 MB / 0.829 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/0.9545, allocations: 0 / 0.829 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3364/1.291, allocations: 67.3 MB / 0.8947 GB, free: 190.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.3/27.59, allocations: 7.734 kB / 0.8947 GB, free: 190.1 MB / 0.6387 GB " [Timeout remaining time 632] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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: 30.678547509014606]