Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001364/0.001364, allocations: 115.8 kB / 17.13 MB, free: 5.93 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.001447/0.001447, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 207.6 MB / 230.5 MB, free: 4.031 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3415/0.3415, allocations: 44.22 MB / 326.6 MB, free: 6.82 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.91 kB / 462.2 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2781, allocations: 61 MB / 0.511 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.008503/0.2866, allocations: 10.45 MB / 0.5212 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.2932, allocations: 3.889 MB / 0.525 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.295, allocations: 71.62 kB / 0.525 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003787/0.2988, allocations: 2.106 MB / 0.5271 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004393/0.3032, allocations: 1.735 MB / 0.5288 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.3048, allocations: 0.7018 MB / 0.5295 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005594/0.3104, allocations: 3.808 MB / 0.5332 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/0.3133, allocations: 2.231 MB / 0.5354 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002093/0.3154, allocations: 1.347 MB / 0.5367 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002703/0.3181, allocations: 2.013 MB / 0.5386 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006927/0.3188, allocations: 268 kB / 0.5389 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.3213, allocations: 1.213 MB / 0.5401 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.3234, allocations: 1.729 MB / 0.5418 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002239/0.3256, allocations: 1.977 MB / 0.5437 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008723/0.3343, allocations: 6.407 MB / 0.55 GB, free: 6.863 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3343, allocations: 0 / 0.55 GB, free: 6.863 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3343, allocations: 0 / 0.55 GB, free: 6.863 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001892/0.3345, allocations: 0 / 0.55 GB, free: 6.863 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01074/0.3453, allocations: 4.488 MB / 0.5543 GB, free: 2.301 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.3453, allocations: 19.88 kB / 0.5544 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009623/0.3463, allocations: 0.6171 MB / 0.555 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0879/0.4342, allocations: 7.056 MB / 0.5619 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006526/0.4407, allocations: 2.899 MB / 0.5647 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.4409, allocations: 197.3 kB / 0.5649 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008436/0.4417, allocations: 283.6 kB / 0.5651 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01627/0.458, allocations: 8.505 MB / 0.5734 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.4581, allocations: 39.7 kB / 0.5735 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003706/0.4585, allocations: 131.8 kB / 0.5736 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003152/0.4616, allocations: 1.735 MB / 0.5753 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01584/0.4775, allocations: 7.151 MB / 0.5823 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/0.527, allocations: 33.89 MB / 0.6154 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009354/0.5364, allocations: 3.291 MB / 0.6186 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/0.5388, allocations: 1.53 MB / 0.6201 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/0.5517, allocations: 7.222 MB / 0.6271 GB, free: 5.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.355e-05/0.5518, allocations: 55.5 kB / 0.6272 GB, free: 5.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=151): time 4.318e-06/0.5518, allocations: 0 / 0.6272 GB, free: 5.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=188): time 0.06903/0.6208, allocations: 19.26 MB / 0.646 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.6209, allocations: 205.2 kB / 0.6462 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2426/0.8635, allocations: 3.762 MB / 0.6499 GB, free: 122.4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004208/0.864, allocations: 55.55 kB / 0.6499 GB, free: 122.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002215/0.8662, allocations: 2.946 MB / 0.6528 GB, free: 120.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009477/0.8671, allocations: 0.7428 MB / 0.6535 GB, free: 120.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/0.8691, allocations: 1.176 MB / 0.6547 GB, free: 119.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.8692, allocations: 305.8 kB / 0.655 GB, free: 119.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003887/0.8731, allocations: 2.092 MB / 0.657 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004607/0.8777, allocations: 5.647 MB / 0.6625 GB, free: 113.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008146/0.8858, allocations: 8.399 MB / 0.6707 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/0.886, allocations: 35.72 kB / 0.6708 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01554/0.9015, allocations: 8.684 MB / 0.6792 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.9016, allocations: 57.88 kB / 0.6793 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/0.9017, allocations: 127.9 kB / 0.6794 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/0.9062, allocations: 1.388 MB / 0.6808 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003881/0.9101, allocations: 1.297 MB / 0.682 GB, free: 100.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.9206, allocations: 9.204 MB / 0.691 GB, free: 91.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/0.9255, allocations: 298.9 kB / 0.6913 GB, free: 90.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009764/0.9265, allocations: 363.6 kB / 0.6917 GB, free: 90.59 MB / 0.4981 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.002933/0.9295, allocations: 1.887 MB / 0.6935 GB, free: 88.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006554/0.9301, allocations: 353.6 kB / 0.6938 GB, free: 88.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007223/0.9373, allocations: 3.744 MB / 0.6975 GB, free: 84.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-05/0.9374, allocations: 22.31 kB / 0.6975 GB, free: 84.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.9374, allocations: 8 kB / 0.6975 GB, free: 84.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.9374, allocations: 7.969 kB / 0.6975 GB, free: 84.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/0.951, allocations: 8.128 MB / 0.7055 GB, free: 76.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.951, allocations: 8 kB / 0.7055 GB, free: 76.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.9522, allocations: 244.7 kB / 0.7057 GB, free: 76.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004187/0.9564, allocations: 1.183 MB / 0.7069 GB, free: 75.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/0.9566, allocations: 31.98 kB / 0.7069 GB, free: 74.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00979/0.9664, allocations: 8.483 MB / 0.7152 GB, free: 66.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9664, allocations: 7.922 kB / 0.7152 GB, free: 66.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009344/0.9758, allocations: 6.257 MB / 0.7213 GB, free: 60.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.9771, allocations: 0.6274 MB / 0.7219 GB, free: 59.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/0.9775, allocations: 24 kB / 0.7219 GB, free: 59.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.9787, allocations: 87.97 kB / 0.722 GB, free: 59.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003223/0.9791, allocations: 112.8 kB / 0.7221 GB, free: 59.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9792, allocations: 51.98 kB / 0.7222 GB, free: 59.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002725/0.9819, allocations: 2.344 MB / 0.7245 GB, free: 56.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.9819, allocations: 0 / 0.7245 GB, free: 56.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004421/0.9863, allocations: 0.9721 MB / 0.7254 GB, free: 55.86 MB / 0.4981 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.009213/0.9955, allocations: 6.969 MB / 0.7322 GB, free: 48.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006512/1.002, allocations: 5.013 MB / 0.7371 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/1.002, allocations: 0 / 0.7371 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/1.004, allocations: 1.619 MB / 0.7387 GB, free: 42.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.006, allocations: 410.7 kB / 0.7391 GB, free: 41.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05756/1.064, allocations: 44.34 MB / 0.7824 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003428/1.067, allocations: 2.969 MB / 0.7853 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004088/1.071, allocations: 1.819 MB / 0.7871 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002261/1.074, allocations: 1.651 MB / 0.7887 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/1.074, allocations: 4 kB / 0.7887 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.201, allocations: 67.66 MB / 0.8547 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.47/26.67, allocations: 11.95 kB / 0.8548 GB, free: 13.75 MB / 0.5919 GB " [Timeout remaining time 633] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 29.708017882992863]