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.001839/0.001839, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001853/0.001853, allocations: 192 kB / 18.55 MB, free: 4.566 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.297/1.297, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1997/0.1997, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 67.27 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1214, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01543/0.1369, allocations: 12.88 MB / 482.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009785/0.1467, allocations: 4.524 MB / 486.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.149, allocations: 87.75 kB / 486.8 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006726/0.1557, allocations: 3.73 MB / 490.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00559/0.1614, allocations: 2.26 MB / 492.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.1635, allocations: 0.9981 MB / 493.8 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007748/0.1713, allocations: 6.034 MB / 499.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005465/0.1768, allocations: 4.612 MB / 0.4927 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.1804, allocations: 1.99 MB / 0.4946 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003527/0.1839, allocations: 2.66 MB / 0.4972 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009098/0.1849, allocations: 416 kB / 0.4976 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.1875, allocations: 1.455 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.19, allocations: 2.502 MB / 0.5015 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2427/0.4327, allocations: 2.846 MB / 0.5042 GB, free: 20.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01403/0.4468, allocations: 8.755 MB / 0.5128 GB, free: 20.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4468, allocations: 3.375 kB / 0.5128 GB, free: 20.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4469, allocations: 0 / 0.5128 GB, free: 20.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003837/0.4472, allocations: 1.25 kB / 0.5128 GB, free: 20.36 MB / 382.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.0199/0.4672, allocations: 6.321 MB / 0.519 GB, free: 17.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4672, allocations: 10.78 kB / 0.519 GB, free: 17.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002085/0.4693, allocations: 0.8443 MB / 0.5198 GB, free: 17.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03876/0.5081, allocations: 6.081 MB / 0.5257 GB, free: 17.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.5192, allocations: 4.329 MB / 0.53 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/0.5195, allocations: 283.5 kB / 0.5302 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002178/0.5217, allocations: 384.9 kB / 0.5306 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02265/0.5444, allocations: 11.86 MB / 0.5422 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.5446, allocations: 59.56 kB / 0.5422 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005325/0.5451, allocations: 184 kB / 0.5424 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00332/0.5484, allocations: 2.27 MB / 0.5446 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01909/0.5675, allocations: 9.682 MB / 0.5541 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06635/0.6339, allocations: 46.31 MB / 0.5993 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.6451, allocations: 3.782 MB / 0.603 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.6481, allocations: 2.015 MB / 0.605 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.012/0.6601, allocations: 5.668 MB / 0.6105 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.6602, allocations: 47.12 kB / 0.6106 GB, free: 1.918 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 5.511e-06/0.6602, allocations: 0 / 0.6106 GB, free: 1.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=162): time 0.05225/0.7125, allocations: 15.73 MB / 0.6259 GB, free: 2.023 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.7126, allocations: 226.2 kB / 0.6261 GB, free: 1.754 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01269/0.7253, allocations: 5.688 MB / 0.6317 GB, free: 12.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004549/0.7258, allocations: 49.7 kB / 0.6317 GB, free: 12.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004153/0.73, allocations: 3.852 MB / 0.6355 GB, free: 8.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/0.7313, allocations: 0.6533 MB / 0.6361 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003821/0.7351, allocations: 1.343 MB / 0.6374 GB, free: 6.188 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.7353, allocations: 309 kB / 0.6377 GB, free: 5.883 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/0.7388, allocations: 2.089 MB / 0.6398 GB, free: 3.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006501/0.7453, allocations: 6.36 MB / 0.646 GB, free: 11.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.7564, allocations: 9.189 MB / 0.655 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/0.7566, allocations: 44 kB / 0.655 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.02002/0.7766, allocations: 8.656 MB / 0.6635 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.7767, allocations: 68 kB / 0.6635 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/0.777, allocations: 152 kB / 0.6637 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002023/0.779, allocations: 0.7243 MB / 0.6644 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005667/0.7847, allocations: 1.509 MB / 0.6658 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009618/0.7943, allocations: 6.982 MB / 0.6727 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006616/0.801, allocations: 342.8 kB / 0.673 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/0.8025, allocations: 427.9 kB / 0.6734 GB, free: 13.79 MB / 0.5137 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.006322/0.8088, allocations: 2.506 MB / 0.6758 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/0.8101, allocations: 469.9 kB / 0.6763 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/0.8161, allocations: 2.659 MB / 0.6789 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.919e-05/0.8162, allocations: 19.75 kB / 0.6789 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/0.8163, allocations: 8 kB / 0.6789 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.8163, allocations: 11.97 kB / 0.6789 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/0.8375, allocations: 7.583 MB / 0.6863 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.972e-05/0.8376, allocations: 4 kB / 0.6863 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.839, allocations: 255.6 kB / 0.6866 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001692/0.8407, allocations: 0.495 MB / 0.6871 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/0.841, allocations: 32 kB / 0.6871 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007929/0.8489, allocations: 6.287 MB / 0.6932 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8489, allocations: 4.094 kB / 0.6932 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008543/0.8575, allocations: 4.956 MB / 0.6981 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/0.8593, allocations: 0.5223 MB / 0.6986 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/0.861, allocations: 28 kB / 0.6986 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/0.864, allocations: 75.91 kB / 0.6987 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/0.8644, allocations: 96.75 kB / 0.6988 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.8646, allocations: 48 kB / 0.6988 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.2579/1.122, allocations: 3.643 MB / 0.7024 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.82e-07/1.122, allocations: 0 / 0.7024 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007913/1.13, allocations: 1.124 MB / 0.7035 GB, free: 183.4 MB / 0.5294 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.008592/1.139, allocations: 5.586 MB / 0.7089 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009325/1.148, allocations: 5.564 MB / 0.7144 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.088e-06/1.148, allocations: 0 / 0.7144 GB, free: 180.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/1.15, allocations: 1.485 MB / 0.7158 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005636/1.156, allocations: 0.6463 MB / 0.7165 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07839/1.234, allocations: 66.31 MB / 0.7812 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005041/1.239, allocations: 3.856 MB / 0.785 GB, free: 112.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004804/1.244, allocations: 2.133 MB / 0.7871 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002936/1.247, allocations: 2.382 MB / 0.7894 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.713e-06/1.247, allocations: 0 / 0.7894 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2246/1.472, allocations: 89.79 MB / 0.8771 GB, free: 18.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.55, allocations: 10.88 kB / 0.8771 GB, free: 18.74 MB / 0.5294 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