Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques",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.001082/0.001082, allocations: 106.4 kB / 17.78 MB, free: 5.316 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.001147/0.001147, allocations: 187.1 kB / 18.71 MB, free: 4.387 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.343/1.343, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.2192/0.2192, allocations: 44.19 MB / 336.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 67.91 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3325, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01452/0.3471, allocations: 12.89 MB / 0.531 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009927/0.3571, allocations: 4.516 MB / 0.5354 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003137/0.3603, allocations: 86.88 kB / 0.5355 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007474/0.3678, allocations: 3.727 MB / 0.5391 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.3746, allocations: 2.258 MB / 0.5414 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.3772, allocations: 0.9967 MB / 0.5423 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009974/0.3872, allocations: 6.055 MB / 0.5482 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006097/0.3934, allocations: 4.589 MB / 0.5527 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.3977, allocations: 1.986 MB / 0.5547 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/0.4023, allocations: 2.663 MB / 0.5573 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001421/0.4038, allocations: 416 kB / 0.5577 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.4073, allocations: 1.459 MB / 0.5591 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00318/0.4105, allocations: 2.517 MB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004415/0.4149, allocations: 2.859 MB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.426, allocations: 9.028 MB / 0.5731 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.4261, allocations: 0 / 0.5731 GB, free: 3.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4261, allocations: 0 / 0.5731 GB, free: 3.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003166/0.4264, allocations: 0 / 0.5731 GB, free: 3.887 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01732/0.4438, allocations: 6.321 MB / 0.5793 GB, free: 13.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.4438, allocations: 19.97 kB / 0.5793 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002682/0.4465, allocations: 0.8399 MB / 0.5802 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03966/0.4862, allocations: 6.09 MB / 0.5861 GB, free: 6.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01008/0.4963, allocations: 4.395 MB / 0.5904 GB, free: 2.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.4966, allocations: 287.4 kB / 0.5907 GB, free: 1.789 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.4981, allocations: 391.6 kB / 0.591 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.5207, allocations: 11.86 MB / 0.6026 GB, free: 4.703 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001787/0.5209, allocations: 59.45 kB / 0.6027 GB, free: 4.645 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007303/0.5216, allocations: 183.8 kB / 0.6029 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.5254, allocations: 2.264 MB / 0.6051 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.5452, allocations: 9.681 MB / 0.6145 GB, free: 8.504 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05626/0.6015, allocations: 46.09 MB / 0.6595 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009929/0.6115, allocations: 3.788 MB / 0.6632 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0028/0.6143, allocations: 2.018 MB / 0.6652 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.6255, allocations: 5.656 MB / 0.6707 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.6256, allocations: 52.11 kB / 0.6708 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.138e-06/0.6256, allocations: 8 kB / 0.6708 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04109/0.6667, allocations: 15.73 MB / 0.6861 GB, free: 13.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.6669, allocations: 222.2 kB / 0.6864 GB, free: 13.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009263/0.6762, allocations: 5.688 MB / 0.6919 GB, free: 7.422 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003907/0.6766, allocations: 53.7 kB / 0.692 GB, free: 7.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003221/0.6798, allocations: 3.846 MB / 0.6957 GB, free: 3.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009247/0.6808, allocations: 0.6521 MB / 0.6964 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002311/0.6831, allocations: 1.352 MB / 0.6977 GB, free: 1.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6832, allocations: 309.1 kB / 0.698 GB, free: 1.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003821/0.6871, allocations: 2.078 MB / 0.7 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00704/0.6942, allocations: 6.366 MB / 0.7062 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.7043, allocations: 9.184 MB / 0.7152 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/0.7045, allocations: 47.94 kB / 0.7152 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01561/0.7201, allocations: 8.653 MB / 0.7237 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.7202, allocations: 76.03 kB / 0.7238 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/0.7204, allocations: 152 kB / 0.7239 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.7223, allocations: 0.7159 MB / 0.7246 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004705/0.727, allocations: 1.52 MB / 0.7261 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2491/0.9761, allocations: 6.955 MB / 0.7329 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004746/0.9809, allocations: 348.9 kB / 0.7332 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009077/0.9818, allocations: 417.5 kB / 0.7336 GB, free: 173 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (804): * Single equations (assignments): 797 * 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,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004126/0.9859, allocations: 2.515 MB / 0.7361 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009086/0.9868, allocations: 469.6 kB / 0.7365 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.9913, allocations: 2.66 MB / 0.7391 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.9913, allocations: 17.41 kB / 0.7391 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.9913, allocations: 7 kB / 0.7391 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.9914, allocations: 7.406 kB / 0.7391 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.007, allocations: 7.569 MB / 0.7465 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/1.007, allocations: 3.938 kB / 0.7465 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/1.009, allocations: 256.4 kB / 0.7468 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/1.01, allocations: 0.4932 MB / 0.7473 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/1.01, allocations: 30.12 kB / 0.7473 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005643/1.016, allocations: 6.295 MB / 0.7534 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/1.016, allocations: 11.78 kB / 0.7534 GB, free: 164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/1.022, allocations: 4.94 MB / 0.7583 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/1.023, allocations: 0.5254 MB / 0.7588 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007964/1.024, allocations: 25.73 kB / 0.7588 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.026, allocations: 73.33 kB / 0.7589 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/1.026, allocations: 101.3 kB / 0.759 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.026, allocations: 47.77 kB / 0.759 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005492/1.032, allocations: 3.649 MB / 0.7626 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.81e-07/1.032, allocations: 0 / 0.7626 GB, free: 160.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006012/1.038, allocations: 1.123 MB / 0.7637 GB, free: 160.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007531/1.046, allocations: 5.595 MB / 0.7691 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007148/1.053, allocations: 5.177 MB / 0.7742 GB, free: 151 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.053, allocations: 0 / 0.7742 GB, free: 151 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.055, allocations: 1.489 MB / 0.7757 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/1.059, allocations: 0.6563 MB / 0.7763 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06909/1.128, allocations: 54.4 MB / 0.8294 GB, free: 87.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/1.132, allocations: 3.857 MB / 0.8332 GB, free: 83.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004238/1.136, allocations: 2.137 MB / 0.8353 GB, free: 81.76 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002716/1.139, allocations: 2.374 MB / 0.8376 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/1.139, allocations: 0 / 0.8376 GB, free: 79.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.258, allocations: 86.31 MB / 0.9219 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.92/30.18, allocations: 16.89 kB / 0.9219 GB, free: 9.559 MB / 0.5919 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches