Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.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.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001116/0.001116, allocations: 108.2 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.4 MB, free: 9.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2242/0.2242, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 81.3 kB / 417.2 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1336, allocations: 62.44 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.3443/0.478, allocations: 50.53 MB / 0.5177 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02959/0.5076, allocations: 10.15 MB / 0.5276 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01594/0.5236, allocations: 207.9 kB / 0.5278 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007614/0.5313, allocations: 3.743 MB / 0.5315 GB, free: 6.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.5346, allocations: 0.7768 MB / 0.5322 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.5371, allocations: 0.8277 MB / 0.533 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.5416, allocations: 2.302 MB / 0.5353 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006284/0.5479, allocations: 5.226 MB / 0.5404 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002569/0.5505, allocations: 1.489 MB / 0.5418 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.5533, allocations: 2.106 MB / 0.5439 GB, free: 280 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008195/0.5541, allocations: 471.1 kB / 0.5443 GB, free: 280 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.5565, allocations: 1.189 MB / 0.5455 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.5583, allocations: 1.811 MB / 0.5473 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.5607, allocations: 2.067 MB / 0.5493 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008076/0.5688, allocations: 7.068 MB / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5688, allocations: 0 / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5688, allocations: 0 / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.569, allocations: 0 / 0.5562 GB, free: 6.234 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.01103/0.58, allocations: 4.34 MB / 0.5604 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.5801, allocations: 8.031 kB / 0.5604 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009762/0.5811, allocations: 0.5844 MB / 0.561 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00306/0.5842, allocations: 0.6625 MB / 0.5617 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00485/0.589, allocations: 2.209 MB / 0.5638 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.5893, allocations: 243.8 kB / 0.564 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006976/0.59, allocations: 316.1 kB / 0.5643 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/0.612, allocations: 9.428 MB / 0.5736 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.677e-05/0.6121, allocations: 11.88 kB / 0.5736 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.6125, allocations: 143.1 kB / 0.5737 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00206/0.6146, allocations: 1.192 MB / 0.5749 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02139/0.636, allocations: 8.642 MB / 0.5833 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03993/0.676, allocations: 27.24 MB / 0.6099 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009252/0.6853, allocations: 3.109 MB / 0.6129 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002228/0.6876, allocations: 1.659 MB / 0.6146 GB, free: 9.832 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.7, allocations: 9.068 MB / 0.6234 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.7, allocations: 39.56 kB / 0.6235 GB, free: 264 kB / 462.1 MB Notification: Performance of pre-optimization done (n=93): time 3.216e-06/0.7, allocations: 0 / 0.6235 GB, free: 264 kB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.02518/0.7252, allocations: 7.754 MB / 0.631 GB, free: 8.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/0.7253, allocations: 72.34 kB / 0.6311 GB, free: 8.418 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004256/0.7296, allocations: 2.607 MB / 0.6336 GB, free: 5.785 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.7298, allocations: 45.7 kB / 0.6337 GB, free: 5.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.7317, allocations: 2.134 MB / 0.6358 GB, free: 3.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005398/0.7323, allocations: 437.2 kB / 0.6362 GB, free: 3.176 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.7335, allocations: 0.7735 MB / 0.6369 GB, free: 2.395 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.7336, allocations: 305.1 kB / 0.6372 GB, free: 2.094 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.7359, allocations: 1.432 MB / 0.6386 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004606/0.7405, allocations: 3.512 MB / 0.6421 GB, free: 12.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/0.7472, allocations: 5.192 MB / 0.6471 GB, free: 5.922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.799e-05/0.7473, allocations: 24 kB / 0.6472 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.008223/0.7555, allocations: 4.913 MB / 0.652 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.7556, allocations: 36 kB / 0.652 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.202e-05/0.7557, allocations: 76 kB / 0.6521 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001029/0.7558, allocations: 96 kB / 0.6522 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/0.7588, allocations: 0.8897 MB / 0.653 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000115/0.7589, allocations: 151.4 kB / 0.6532 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.7616, allocations: 211.5 kB / 0.6534 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.7619, allocations: 216 kB / 0.6536 GB, free: 15.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 475 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002971/0.7649, allocations: 1.593 MB / 0.6551 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005165/0.7654, allocations: 217.2 kB / 0.6553 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.769, allocations: 2.106 MB / 0.6574 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.769, allocations: 12 kB / 0.6574 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.769, allocations: 0 / 0.6574 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.769, allocations: 7.969 kB / 0.6574 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009668/0.7787, allocations: 6.081 MB / 0.6634 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.7788, allocations: 12 kB / 0.6634 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.7798, allocations: 259.5 kB / 0.6636 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-05/0.7798, allocations: 20 kB / 0.6636 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.7799, allocations: 44 kB / 0.6637 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.663e-05/0.78, allocations: 27.88 kB / 0.6637 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/0.78, allocations: 23.86 kB / 0.6637 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.7828, allocations: 2.179 MB / 0.6659 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006119/0.7834, allocations: 310.1 kB / 0.6661 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/0.7837, allocations: 43.98 kB / 0.6662 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/0.7846, allocations: 67.88 kB / 0.6663 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/0.7848, allocations: 128.2 kB / 0.6664 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.294e-05/0.7849, allocations: 48 kB / 0.6664 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002433/0.7873, allocations: 1.66 MB / 0.668 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7873, allocations: 0 / 0.668 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003833/0.7912, allocations: 0.668 MB / 0.6687 GB, free: 15.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 0 () * 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 (136): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003743/0.7949, allocations: 2.833 MB / 0.6715 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006002/0.8009, allocations: 3.473 MB / 0.6749 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.801, allocations: 7.938 kB / 0.6749 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.8021, allocations: 0.8065 MB / 0.6756 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.8043, allocations: 378.7 kB / 0.676 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05592/0.8602, allocations: 32.74 MB / 0.708 GB, free: 2.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/0.8638, allocations: 2.663 MB / 0.7106 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2508/1.115, allocations: 0.9312 MB / 0.7115 GB, free: 200.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/1.117, allocations: 1.372 MB / 0.7128 GB, free: 200.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.804e-06/1.117, allocations: 0 / 0.7128 GB, free: 200.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/1.256, allocations: 50.74 MB / 0.7624 GB, free: 167.7 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.256, allocations: 198.9 kB / 0.7626 GB, free: 167.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/4.434, allocations: 0 / 0.7626 GB, free: 167.4 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointRRR/JointRRR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointRRR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches