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.0008511/0.0008511, allocations: 94.5 kB / 17.35 MB, free: 6.371 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.0007715/0.0007716, allocations: 175.2 kB / 18.25 MB, free: 5.523 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.279/1.279, allocations: 223.3 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1849/0.1849, allocations: 44.25 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002859, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09811, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2508/0.349, allocations: 70.62 MB / 0.5302 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02858/0.3776, allocations: 14.35 MB / 0.5443 GB, free: 4.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01188/0.3895, allocations: 310.2 kB / 0.5446 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.391, allocations: 0.4954 MB / 0.545 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.3956, allocations: 2.126 MB / 0.5471 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.3972, allocations: 0.8183 MB / 0.5479 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008942/0.4061, allocations: 8.736 MB / 0.5565 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008561/0.4147, allocations: 6.335 MB / 0.5626 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.4174, allocations: 1.474 MB / 0.5641 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.4208, allocations: 2.487 MB / 0.5665 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005522/0.4213, allocations: 168 kB / 0.5667 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.4236, allocations: 1.314 MB / 0.568 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.4257, allocations: 2.24 MB / 0.5701 GB, free: 100 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002405/0.4281, allocations: 2.532 MB / 0.5726 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007721/0.4358, allocations: 8.416 MB / 0.5808 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4358, allocations: 0 / 0.5808 GB, free: 5.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4358, allocations: 3.938 kB / 0.5808 GB, free: 5.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001305/0.436, allocations: 0 / 0.5808 GB, free: 5.094 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.009599/0.4456, allocations: 5.224 MB / 0.5859 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4456, allocations: 8.031 kB / 0.5859 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.4468, allocations: 0.8477 MB / 0.5868 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03835/0.4852, allocations: 6.168 MB / 0.5928 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008448/0.4937, allocations: 4.325 MB / 0.597 GB, free: 4.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.4939, allocations: 291.2 kB / 0.5973 GB, free: 4.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009168/0.4949, allocations: 383.7 kB / 0.5977 GB, free: 3.715 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.5137, allocations: 11.88 MB / 0.6093 GB, free: 6.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.5139, allocations: 59.44 kB / 0.6093 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000577/0.5145, allocations: 183.8 kB / 0.6095 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/0.5181, allocations: 2.264 MB / 0.6117 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0179/0.536, allocations: 9.707 MB / 0.6212 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04951/0.5856, allocations: 46.33 MB / 0.6664 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009609/0.5952, allocations: 3.797 MB / 0.6701 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002435/0.5977, allocations: 2.015 MB / 0.6721 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008167/0.6059, allocations: 5.675 MB / 0.6776 GB, free: 15.37 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.606, allocations: 48.09 kB / 0.6777 GB, free: 15.32 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=150): time 3.306e-06/0.606, allocations: 4 kB / 0.6777 GB, free: 15.31 MB / 0.5138 GB Notification: Performance of matching and sorting (n=162): time 0.03934/0.6453, allocations: 15.7 MB / 0.693 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.6454, allocations: 222.1 kB / 0.6932 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008644/0.6541, allocations: 5.7 MB / 0.6988 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003413/0.6545, allocations: 49.7 kB / 0.6988 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003219/0.6577, allocations: 3.846 MB / 0.7026 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00103/0.6588, allocations: 0.656 MB / 0.7032 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/0.66, allocations: 0.5672 MB / 0.7038 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6601, allocations: 317 kB / 0.7041 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003507/0.6636, allocations: 2.078 MB / 0.7061 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1878/0.8514, allocations: 6.357 MB / 0.7123 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007951/0.8594, allocations: 9.189 MB / 0.7213 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001301/0.8596, allocations: 42.75 kB / 0.7214 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.01321/0.8728, allocations: 8.654 MB / 0.7298 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.8729, allocations: 71.16 kB / 0.7299 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/0.8731, allocations: 152.2 kB / 0.73 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.8747, allocations: 0.7201 MB / 0.7307 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.8787, allocations: 1.508 MB / 0.7322 GB, free: 173.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006169/0.8849, allocations: 6.483 MB / 0.7385 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/0.8907, allocations: 346.4 kB / 0.7389 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001123/0.8918, allocations: 421 kB / 0.7393 GB, free: 169 MB / 0.5294 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.003579/0.8954, allocations: 2.519 MB / 0.7417 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/0.8961, allocations: 464.3 kB / 0.7422 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003745/0.8998, allocations: 2.654 MB / 0.7448 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.8999, allocations: 18 kB / 0.7448 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.8999, allocations: 6 kB / 0.7448 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.8999, allocations: 7.5 kB / 0.7448 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/0.9097, allocations: 7.586 MB / 0.7522 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.9097, allocations: 4 kB / 0.7522 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.9108, allocations: 257.6 kB / 0.7524 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.912, allocations: 0.5017 MB / 0.7529 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.044e-05/0.9121, allocations: 24.55 kB / 0.753 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.9168, allocations: 5.797 MB / 0.7586 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.9168, allocations: 7.938 kB / 0.7586 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/0.922, allocations: 4.952 MB / 0.7635 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009611/0.923, allocations: 0.5263 MB / 0.764 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/0.9234, allocations: 38.05 kB / 0.764 GB, free: 150.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9248, allocations: 72.92 kB / 0.7641 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.925, allocations: 104.5 kB / 0.7642 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.895e-05/0.9251, allocations: 45.02 kB / 0.7642 GB, free: 150.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004101/0.9292, allocations: 3.65 MB / 0.7678 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9292, allocations: 0 / 0.7678 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004644/0.9339, allocations: 1.124 MB / 0.7689 GB, free: 146 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.005255/0.9391, allocations: 5.586 MB / 0.7743 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007092/0.9462, allocations: 5.163 MB / 0.7794 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.9463, allocations: 0 / 0.7794 GB, free: 135.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.9477, allocations: 1.481 MB / 0.7808 GB, free: 133.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/0.9527, allocations: 0.6044 MB / 0.7814 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06855/1.021, allocations: 68.46 MB / 0.8483 GB, free: 55.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/1.024, allocations: 3.857 MB / 0.852 GB, free: 51.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004252/1.029, allocations: 2.141 MB / 0.8541 GB, free: 49.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002016/1.031, allocations: 2.374 MB / 0.8565 GB, free: 46.73 MB / 0.5294 GB Notification: Performance of SimCode: time 1.202e-06/1.031, allocations: 0 / 0.8565 GB, free: 46.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3036/1.334, allocations: 87.07 MB / 0.9415 GB, free: 157 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001472/1.334, allocations: 220.3 kB / 0.9417 GB, free: 156.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.046/5.38, allocations: 0 / 0.9417 GB, free: 156.8 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