Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001375/0.001375, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 75.88 kB / 480.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3403, allocations: 62.45 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01382/0.3542, allocations: 12.67 MB / 0.5429 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.3643, allocations: 4.493 MB / 0.5473 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002827/0.3671, allocations: 85.44 kB / 0.5474 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007489/0.3747, allocations: 3.719 MB / 0.551 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.3814, allocations: 2.179 MB / 0.5531 GB, free: 10.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.3845, allocations: 0.9982 MB / 0.5541 GB, free: 9.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009639/0.3941, allocations: 6.046 MB / 0.56 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006108/0.4003, allocations: 4.553 MB / 0.5645 GB, free: 14.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.4038, allocations: 1.955 MB / 0.5664 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/0.408, allocations: 2.617 MB / 0.5689 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00144/0.4095, allocations: 408 kB / 0.5693 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/0.4132, allocations: 1.443 MB / 0.5707 GB, free: 8.445 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003165/0.4164, allocations: 2.439 MB / 0.5731 GB, free: 6 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004479/0.4209, allocations: 2.773 MB / 0.5758 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.4312, allocations: 8.76 MB / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4312, allocations: 0 / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4312, allocations: 0 / 0.5844 GB, free: 10.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002738/0.4315, allocations: 3.938 kB / 0.5844 GB, free: 10.42 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01509/0.4466, allocations: 6.188 MB / 0.5904 GB, free: 4.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.4467, allocations: 12.03 kB / 0.5904 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002168/0.4488, allocations: 0.8228 MB / 0.5912 GB, free: 3.312 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03575/0.4846, allocations: 6.016 MB / 0.5971 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008945/0.4936, allocations: 4.145 MB / 0.6011 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.4939, allocations: 283.3 kB / 0.6014 GB, free: 8.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001314/0.4952, allocations: 379.6 kB / 0.6018 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.5161, allocations: 11.49 MB / 0.613 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000214/0.5164, allocations: 51.53 kB / 0.613 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.5174, allocations: 179.8 kB / 0.6132 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/0.521, allocations: 2.147 MB / 0.6153 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/0.5392, allocations: 9.375 MB / 0.6245 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05532/0.5946, allocations: 45.26 MB / 0.6687 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/0.6048, allocations: 3.788 MB / 0.6724 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002901/0.6078, allocations: 2.01 MB / 0.6743 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.6185, allocations: 5.652 MB / 0.6798 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.6185, allocations: 48.05 kB / 0.6799 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.648e-06/0.6186, allocations: 0 / 0.6799 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04463/0.6632, allocations: 15.59 MB / 0.6951 GB, free: 6.203 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.6634, allocations: 218.2 kB / 0.6953 GB, free: 5.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00929/0.6727, allocations: 5.627 MB / 0.7008 GB, free: 340 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.673, allocations: 49.7 kB / 0.7009 GB, free: 284 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003021/0.676, allocations: 3.761 MB / 0.7045 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000915/0.677, allocations: 0.656 MB / 0.7052 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002643/0.6796, allocations: 1.34 MB / 0.7065 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.6798, allocations: 305.1 kB / 0.7068 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/0.6831, allocations: 2.07 MB / 0.7088 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00653/0.6896, allocations: 6.31 MB / 0.715 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.7001, allocations: 9.14 MB / 0.7239 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001434/0.7002, allocations: 47.94 kB / 0.7239 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.2622/0.9624, allocations: 8.591 MB / 0.7323 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.9626, allocations: 73.03 kB / 0.7324 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/0.9628, allocations: 150 kB / 0.7325 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/0.9646, allocations: 0.7216 MB / 0.7332 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/0.9696, allocations: 1.502 MB / 0.7347 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/0.9768, allocations: 6.971 MB / 0.7415 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/0.9818, allocations: 336.8 kB / 0.7418 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009204/0.9828, allocations: 415.4 kB / 0.7422 GB, free: 166.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.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 (798): * Single equations (assignments): 791 * 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.003491/0.9863, allocations: 2.457 MB / 0.7446 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007918/0.9871, allocations: 461.4 kB / 0.7451 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.9909, allocations: 2.653 MB / 0.7477 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.991, allocations: 23 kB / 0.7477 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.991, allocations: 3.844 kB / 0.7477 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.991, allocations: 6 kB / 0.7477 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.002, allocations: 7.464 MB / 0.755 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.002, allocations: 10.62 kB / 0.755 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.003, allocations: 257.2 kB / 0.7552 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/1.004, allocations: 0.4949 MB / 0.7557 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/1.004, allocations: 29.89 kB / 0.7558 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005248/1.01, allocations: 6.276 MB / 0.7619 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/1.01, allocations: 7.938 kB / 0.7619 GB, free: 156 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/1.015, allocations: 4.945 MB / 0.7667 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.016, allocations: 0.5168 MB / 0.7672 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006301/1.017, allocations: 28 kB / 0.7673 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/1.018, allocations: 79.91 kB / 0.7673 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.018, allocations: 96.75 kB / 0.7674 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/1.019, allocations: 43.67 kB / 0.7675 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004687/1.023, allocations: 3.613 MB / 0.771 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/1.023, allocations: 0 / 0.771 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00553/1.029, allocations: 1.085 MB / 0.7721 GB, free: 145.8 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.005618/1.034, allocations: 5.587 MB / 0.7775 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006377/1.041, allocations: 5.163 MB / 0.7825 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.041, allocations: 320 / 0.7826 GB, free: 135 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/1.042, allocations: 1.497 MB / 0.784 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/1.046, allocations: 0.6318 MB / 0.7846 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07012/1.116, allocations: 53.76 MB / 0.8371 GB, free: 72.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.121, allocations: 3.776 MB / 0.8408 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004766/1.126, allocations: 2.121 MB / 0.8429 GB, free: 66.46 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003466/1.13, allocations: 2.303 MB / 0.8451 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of SimCode: time 1.323e-06/1.13, allocations: 0 / 0.8451 GB, free: 64.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1447/1.274, allocations: 85.31 MB / 0.9285 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.06/30.34, allocations: 16.55 kB / 0.9285 GB, free: 11.29 MB / 0.6075 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameTorques.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches