Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.004611/0.004611, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.001132/0.001132, allocations: 193.6 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2978/0.2978, allocations: 43.49 MB / 313.5 MB, free: 8.699 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 70.55 kB / 382.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.101, allocations: 57.78 MB / 439.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2107/0.3118, allocations: 34.79 MB / 474.7 MB, free: 29.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.327, allocations: 7.477 MB / 482.2 MB, free: 25.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006668/0.3337, allocations: 141.3 kB / 482.3 MB, free: 25.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004178/0.3379, allocations: 2.642 MB / 485 MB, free: 24.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.3399, allocations: 0.6221 MB / 485.6 MB, free: 24.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.3414, allocations: 0.6492 MB / 486.2 MB, free: 23.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.3441, allocations: 2.757 MB / 489 MB, free: 22.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/0.3471, allocations: 3.29 MB / 492.3 MB, free: 21.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.3484, allocations: 0.9287 MB / 493.2 MB, free: 21.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/0.3501, allocations: 1.404 MB / 494.6 MB, free: 20.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004567/0.3506, allocations: 201.1 kB / 494.8 MB, free: 20.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.3523, allocations: 0.981 MB / 495.8 MB, free: 20.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001/0.3534, allocations: 1.156 MB / 496.9 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.3546, allocations: 1.375 MB / 498.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.3602, allocations: 4.72 MB / 0.4913 GB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3603, allocations: 0 / 0.4913 GB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3603, allocations: 5.125 kB / 0.4913 GB, free: 17.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001373/0.3604, allocations: 0 / 0.4913 GB, free: 17.46 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007281/0.3677, allocations: 3.09 MB / 0.4943 GB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.3678, allocations: 9.031 kB / 0.4943 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007212/0.3685, allocations: 461.6 kB / 0.4947 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.3699, allocations: 361.4 kB / 0.4951 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.3724, allocations: 1.317 MB / 0.4964 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3726, allocations: 176 kB / 0.4965 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000415/0.373, allocations: 233 kB / 0.4967 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01428/0.3873, allocations: 6.898 MB / 0.5035 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/0.3874, allocations: 13.44 kB / 0.5035 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.3877, allocations: 102.2 kB / 0.5036 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001374/0.389, allocations: 0.9926 MB / 0.5046 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.401, allocations: 5.674 MB / 0.5101 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02472/0.4257, allocations: 20.28 MB / 0.5299 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006855/0.4326, allocations: 1.818 MB / 0.5317 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.4337, allocations: 0.6945 MB / 0.5324 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006549/0.4403, allocations: 4.88 MB / 0.5371 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.4403, allocations: 39.12 kB / 0.5372 GB, free: 12.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.805e-06/0.4404, allocations: 0 / 0.5372 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.04089/0.4813, allocations: 9.25 MB / 0.5462 GB, free: 3.148 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.4813, allocations: 94.05 kB / 0.5463 GB, free: 3.039 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.4845, allocations: 1.97 MB / 0.5482 GB, free: 1.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001624/0.4847, allocations: 45.7 kB / 0.5483 GB, free: 1.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.4859, allocations: 1.668 MB / 0.5499 GB, free: 15.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000459/0.4864, allocations: 414.5 kB / 0.5503 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009492/0.4874, allocations: 0.5798 MB / 0.5508 GB, free: 14.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.4875, allocations: 305.1 kB / 0.5511 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4892, allocations: 1.04 MB / 0.5521 GB, free: 12.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.4919, allocations: 2.66 MB / 0.5547 GB, free: 9.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004675/0.4966, allocations: 3.983 MB / 0.5586 GB, free: 4.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.506e-05/0.4967, allocations: 20 kB / 0.5587 GB, free: 4.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005627/0.5023, allocations: 3.691 MB / 0.5623 GB, free: 1.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/0.5024, allocations: 28 kB / 0.5623 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.654e-05/0.5024, allocations: 63.98 kB / 0.5623 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.857e-05/0.5025, allocations: 76 kB / 0.5624 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.5048, allocations: 0.7135 MB / 0.5631 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.903e-05/0.5049, allocations: 111.6 kB / 0.5632 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/0.5068, allocations: 160.2 kB / 0.5634 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.507, allocations: 168 kB / 0.5635 GB, free: 15.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (373): * Single equations (assignments): 373 * 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 prepare postOptimizeDAE: time 0.001937/0.509, allocations: 1.195 MB / 0.5647 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.5093, allocations: 181.7 kB / 0.5649 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.5121, allocations: 1.731 MB / 0.5666 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.5121, allocations: 15.94 kB / 0.5666 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.5121, allocations: 0 / 0.5666 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.5122, allocations: 11.97 kB / 0.5666 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009741/0.5219, allocations: 5.873 MB / 0.5723 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.522, allocations: 12.94 kB / 0.5723 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.5228, allocations: 207.6 kB / 0.5725 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/0.5228, allocations: 19.94 kB / 0.5726 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/0.5229, allocations: 40 kB / 0.5726 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-05/0.5229, allocations: 27.86 kB / 0.5726 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.5229, allocations: 15.94 kB / 0.5726 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.5249, allocations: 1.693 MB / 0.5743 GB, free: 4.227 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.5254, allocations: 258.8 kB / 0.5745 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003791/0.5258, allocations: 39.92 kB / 0.5746 GB, free: 3.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008957/0.5267, allocations: 43.97 kB / 0.5746 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.5269, allocations: 100.2 kB / 0.5747 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/0.5269, allocations: 48 kB / 0.5748 GB, free: 3.727 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00192/0.5289, allocations: 1.288 MB / 0.576 GB, free: 2.414 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5289, allocations: 0 / 0.576 GB, free: 2.414 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002377/0.5313, allocations: 0.5312 MB / 0.5765 GB, free: 1.883 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (111): * Single equations (assignments): 111 * 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.002501/0.5338, allocations: 2.34 MB / 0.5788 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003368/0.5371, allocations: 2.255 MB / 0.581 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5372, allocations: 3.938 kB / 0.581 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007723/0.5379, allocations: 0.599 MB / 0.5816 GB, free: 12.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.5395, allocations: 248.4 kB / 0.5818 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03635/0.5758, allocations: 25.25 MB / 0.6065 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/0.5784, allocations: 2.176 MB / 0.6086 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002015/0.5804, allocations: 0.7664 MB / 0.6094 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.5819, allocations: 1.066 MB / 0.6104 GB, free: 11.75 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5819, allocations: 0 / 0.6104 GB, free: 11.75 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.28/0.8619, allocations: 38.95 MB / 0.6485 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.8621, allocations: 184.5 kB / 0.6486 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.718/3.581, allocations: 5.938 kB / 0.6486 GB, free: 162.6 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches