Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.0008183/0.0008183, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001302/0.001302, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8993/0.8993, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1292/0.1292, allocations: 32.37 MB / 269.6 MB, free: 14.98 MB / 266.7 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.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 406.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.571e-05, allocations: 5.938 kB / 406.9 MB, free: 13.47 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01041/0.01043, allocations: 11.99 MB / 418.9 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.01799, allocations: 4.404 MB / 423.3 MB, free: 13 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/0.0198, allocations: 103.5 kB / 423.4 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003724/0.02352, allocations: 3.862 MB / 427.3 MB, free: 9.027 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.02865, allocations: 2.508 MB / 429.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.03049, allocations: 1.111 MB / 430.9 MB, free: 5.395 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.1898/0.2203, allocations: 6.593 MB / 437.5 MB, free: 16.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006844/0.2271, allocations: 4.174 MB / 441.6 MB, free: 16.27 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007224/0.2343, allocations: 3.189 MB / 444.8 MB, free: 16.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004825/0.2392, allocations: 3.105 MB / 447.9 MB, free: 16.03 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00148/0.2407, allocations: 454.6 kB / 448.4 MB, free: 16.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.2437, allocations: 1.435 MB / 449.8 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002664/0.2464, allocations: 2.845 MB / 452.7 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003157/0.2495, allocations: 1.776 MB / 454.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007877/0.2574, allocations: 9.661 MB / 464.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2574, allocations: 0 / 464.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2574, allocations: 1.344 kB / 464.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003447/0.2578, allocations: 0 / 464.1 MB, free: 10.14 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.0124/0.2702, allocations: 6.758 MB / 470.9 MB, free: 5.602 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2702, allocations: 9.688 kB / 470.9 MB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001284/0.2715, allocations: 0.8893 MB / 471.8 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01904/0.2905, allocations: 6.582 MB / 478.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/0.2986, allocations: 4.218 MB / 482.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.2988, allocations: 300 kB / 482.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.2998, allocations: 400.9 kB / 483.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.3166, allocations: 12.54 MB / 495.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/0.3168, allocations: 62.39 kB / 495.8 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/0.3172, allocations: 190.5 kB / 496 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/0.3196, allocations: 2.407 MB / 498.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.335, allocations: 10.24 MB / 0.4967 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04915/0.3841, allocations: 46.77 MB / 0.5424 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007176/0.3913, allocations: 4.216 MB / 0.5465 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.3937, allocations: 2.127 MB / 0.5486 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009098/0.4028, allocations: 6.492 MB / 0.555 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.4029, allocations: 51.88 kB / 0.555 GB, free: 4.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=181): time 4.208e-06/0.4029, allocations: 0 / 0.555 GB, free: 4.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.0287/0.4316, allocations: 17.22 MB / 0.5718 GB, free: 3.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/0.4317, allocations: 201.2 kB / 0.572 GB, free: 3.348 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007488/0.4392, allocations: 6.565 MB / 0.5784 GB, free: 12.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000322/0.4395, allocations: 56.22 kB / 0.5785 GB, free: 12.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.4416, allocations: 4.109 MB / 0.5825 GB, free: 8.656 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008921/0.4425, allocations: 0.7873 MB / 0.5832 GB, free: 7.879 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.4442, allocations: 1.425 MB / 0.5846 GB, free: 6.445 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.4443, allocations: 305.1 kB / 0.5849 GB, free: 6.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.4469, allocations: 2.383 MB / 0.5873 GB, free: 3.758 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.4518, allocations: 6.855 MB / 0.594 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008911/0.4608, allocations: 9.955 MB / 0.6037 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.4609, allocations: 44 kB / 0.6037 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=926) (initialization): time 0.01317/0.474, allocations: 9.438 MB / 0.6129 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.4741, allocations: 72.94 kB / 0.613 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001794/0.4743, allocations: 156 kB / 0.6132 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001458/0.4758, allocations: 0.7082 MB / 0.6138 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/0.4798, allocations: 1.641 MB / 0.6154 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1852/0.665, allocations: 6.668 MB / 0.622 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/0.6694, allocations: 458.1 kB / 0.6224 GB, free: 163 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/0.6706, allocations: 440.3 kB / 0.6228 GB, free: 163 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (866): * Single equations (assignments): 859 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00428/0.6749, allocations: 2.627 MB / 0.6254 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.6759, allocations: 0.5007 MB / 0.6259 GB, free: 162.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/0.6801, allocations: 3.236 MB / 0.629 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.6801, allocations: 21.66 kB / 0.6291 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.6801, allocations: 4.688 kB / 0.6291 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.6801, allocations: 9.656 kB / 0.6291 GB, free: 161.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.6943, allocations: 8.268 MB / 0.6371 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.6943, allocations: 2.375 kB / 0.6371 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6953, allocations: 363.9 kB / 0.6375 GB, free: 158.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008956/0.6962, allocations: 495.8 kB / 0.638 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.6964, allocations: 40.95 kB / 0.638 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004141/0.7005, allocations: 6.049 MB / 0.6439 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7005, allocations: 2.906 kB / 0.6439 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005621/0.7061, allocations: 5.855 MB / 0.6496 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/0.708, allocations: 0.8255 MB / 0.6504 GB, free: 152 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005071/0.7085, allocations: 30.02 kB / 0.6505 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.7096, allocations: 169.2 kB / 0.6506 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.7099, allocations: 128.2 kB / 0.6507 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.7099, allocations: 54.53 kB / 0.6508 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004821/0.7148, allocations: 4.089 MB / 0.6548 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7148, allocations: 0 / 0.6548 GB, free: 150.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00569/0.7204, allocations: 1.401 MB / 0.6562 GB, free: 150.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005426/0.7259, allocations: 6.519 MB / 0.6625 GB, free: 147.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005941/0.7318, allocations: 5.6 MB / 0.668 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.7318, allocations: 0 / 0.668 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.7331, allocations: 1.65 MB / 0.6696 GB, free: 141 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/0.7364, allocations: 0.6614 MB / 0.6703 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06679/0.8032, allocations: 59.81 MB / 0.7287 GB, free: 73.92 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/0.8064, allocations: 3.503 MB / 0.7321 GB, free: 70.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003462/0.8099, allocations: 2.302 MB / 0.7343 GB, free: 68.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002385/0.8123, allocations: 2.523 MB / 0.7368 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of SimCode: time 1.482e-06/0.8123, allocations: 0 / 0.7368 GB, free: 65.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2693/1.082, allocations: 94.5 MB / 0.8291 GB, free: 178 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.59, allocations: 11.41 kB / 0.8291 GB, free: 178 MB / 0.5261 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_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_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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: 14.790686544962227]