Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",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.001087/0.001087, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001155/0.001155, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1996/0.1996, allocations: 44.18 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.91 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3333, allocations: 60.81 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01652/0.3498, allocations: 15.74 MB / 0.5338 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01397/0.3639, allocations: 4.96 MB / 0.5386 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.3676, allocations: 110.8 kB / 0.5388 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009405/0.377, allocations: 5.011 MB / 0.5436 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007539/0.3846, allocations: 2.628 MB / 0.5462 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.3876, allocations: 1.114 MB / 0.5473 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.3988, allocations: 6.879 MB / 0.554 GB, free: 7.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009361/0.4082, allocations: 5.81 MB / 0.5597 GB, free: 1.684 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005113/0.4133, allocations: 2.446 MB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005649/0.419, allocations: 3.267 MB / 0.5653 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002115/0.4212, allocations: 0.5117 MB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.4253, allocations: 1.42 MB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004348/0.4296, allocations: 3.07 MB / 0.5702 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00685/0.4365, allocations: 3.492 MB / 0.5736 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.451, allocations: 10.82 MB / 0.5841 GB, free: 8.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.451, allocations: 0 / 0.5841 GB, free: 8.566 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.451, allocations: 0 / 0.5841 GB, free: 8.566 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005019/0.4515, allocations: 0 / 0.5841 GB, free: 8.566 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02196/0.4735, allocations: 7.905 MB / 0.5919 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/0.4736, allocations: 12.03 kB / 0.5919 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003484/0.4771, allocations: 1.054 MB / 0.5929 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0394/0.5165, allocations: 6.28 MB / 0.599 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.5287, allocations: 4.943 MB / 0.6039 GB, free: 4.164 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/0.5291, allocations: 365.4 kB / 0.6042 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002448/0.5315, allocations: 491.7 kB / 0.6047 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/0.564, allocations: 14.93 MB / 0.6193 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/0.5644, allocations: 63.45 kB / 0.6193 GB, free: 3.332 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/0.5658, allocations: 231.8 kB / 0.6195 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005148/0.571, allocations: 2.867 MB / 0.6223 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/0.5961, allocations: 12.56 MB / 0.6346 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07912/0.6753, allocations: 58.5 MB / 0.6917 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/0.6946, allocations: 7.142 MB / 0.6987 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005247/0.6999, allocations: 3.778 MB / 0.7024 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01632/0.7162, allocations: 8.792 MB / 0.711 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.7163, allocations: 64.5 kB / 0.711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 5.32e-06/0.7163, allocations: 0 / 0.711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.3676/1.084, allocations: 31.5 MB / 0.7418 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.084, allocations: 246.5 kB / 0.742 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009059/1.093, allocations: 6.736 MB / 0.7486 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006647/1.094, allocations: 73.53 kB / 0.7487 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002583/1.096, allocations: 4.676 MB / 0.7532 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.098, allocations: 1.142 MB / 0.7544 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002185/1.1, allocations: 1.738 MB / 0.7561 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/1.1, allocations: 301.1 kB / 0.7563 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003704/1.104, allocations: 3.413 MB / 0.7597 GB, free: 145 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005105/1.109, allocations: 8.422 MB / 0.7679 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.119, allocations: 12.83 MB / 0.7804 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/1.119, allocations: 48.66 kB / 0.7805 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.01975/1.139, allocations: 13.16 MB / 0.7933 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/1.139, allocations: 80 kB / 0.7934 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002328/1.139, allocations: 176 kB / 0.7936 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004014/1.143, allocations: 1.766 MB / 0.7953 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005938/1.149, allocations: 1.969 MB / 0.7972 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.163, allocations: 12.73 MB / 0.8097 GB, free: 88.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00821/1.171, allocations: 499.5 kB / 0.8101 GB, free: 88.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/1.173, allocations: 0.5074 MB / 0.8106 GB, free: 87.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1026): * Single equations (assignments): 1019 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006328/1.18, allocations: 3.04 MB / 0.8136 GB, free: 84.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001635/1.181, allocations: 0.5976 MB / 0.8142 GB, free: 83.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.193, allocations: 6.487 MB / 0.8205 GB, free: 77.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/1.193, allocations: 39.94 kB / 0.8206 GB, free: 77.44 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.474e-05/1.193, allocations: 8 kB / 0.8206 GB, free: 77.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.34e-05/1.193, allocations: 11.95 kB / 0.8206 GB, free: 77.42 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/1.219, allocations: 14.35 MB / 0.8346 GB, free: 63.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.099e-05/1.219, allocations: 8.062 kB / 0.8346 GB, free: 63.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.222, allocations: 495.2 kB / 0.8351 GB, free: 62.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003591/1.225, allocations: 1.511 MB / 0.8365 GB, free: 61.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004178/1.226, allocations: 56.45 kB / 0.8366 GB, free: 60.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/1.238, allocations: 12.05 MB / 0.8484 GB, free: 48.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.238, allocations: 4 kB / 0.8484 GB, free: 48.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/1.254, allocations: 10.61 MB / 0.8587 GB, free: 37.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.256, allocations: 0.6609 MB / 0.8594 GB, free: 37.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001824/1.258, allocations: 63.81 kB / 0.8594 GB, free: 37.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003506/1.262, allocations: 187.7 kB / 0.8596 GB, free: 36.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000635/1.262, allocations: 177.6 kB / 0.8598 GB, free: 36.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003462/1.263, allocations: 83.81 kB / 0.8599 GB, free: 36.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007692/1.27, allocations: 4.314 MB / 0.8641 GB, free: 32.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/1.27, allocations: 4 kB / 0.8641 GB, free: 32.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008951/1.279, allocations: 1.558 MB / 0.8656 GB, free: 30.82 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01549/1.295, allocations: 11.29 MB / 0.8766 GB, free: 19.37 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01066/1.306, allocations: 8.385 MB / 0.8848 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.306, allocations: 0 / 0.8848 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004707/1.31, allocations: 3.325 MB / 0.8881 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005523/1.316, allocations: 0.7671 MB / 0.8888 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3708/1.687, allocations: 76.47 MB / 0.9635 GB, free: 198.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004312/1.691, allocations: 4.625 MB / 0.968 GB, free: 197.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005161/1.696, allocations: 2.812 MB / 0.9708 GB, free: 197.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004271/1.7, allocations: 3.004 MB / 0.9737 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of SimCode: time 1.282e-06/1.701, allocations: 0 / 0.9737 GB, free: 194.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/1.848, allocations: 118 MB / 1.089 GB, free: 82.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.38/25.23, allocations: 8.391 kB / 1.089 GB, free: 82.87 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches