Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",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.001232/0.001232, allocations: 104.2 kB / 16.27 MB, free: 5.93 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.001563/0.001563, allocations: 193.3 kB / 17.2 MB, free: 5.574 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.418/1.418, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2208/0.2208, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.00178/0.00178, allocations: 65.31 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.135, allocations: 57.78 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.009267/0.1443, allocations: 10.29 MB / 450.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006508/0.1509, allocations: 3.25 MB / 454.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.1523, allocations: 51.94 kB / 454.2 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005111/0.1574, allocations: 2.652 MB / 456.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.1594, allocations: 0.6723 MB / 457.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1611, allocations: 0.5223 MB / 458.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.1634, allocations: 1.62 MB / 459.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004342/0.1677, allocations: 3.287 MB / 463 MB, free: 340 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.1697, allocations: 1.013 MB / 464 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001824/0.1716, allocations: 1.316 MB / 465.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005771/0.1722, allocations: 276 kB / 465.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.1738, allocations: 0.7959 MB / 466.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.1751, allocations: 1.228 MB / 467.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00223/0.1773, allocations: 1.438 MB / 469 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.1826, allocations: 4.553 MB / 473.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1826, allocations: 0 / 473.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1826, allocations: 0 / 473.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001498/0.1828, allocations: 0 / 473.6 MB, free: 5.688 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.00631/0.1891, allocations: 2.946 MB / 476.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.1892, allocations: 15.89 kB / 476.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006606/0.1898, allocations: 457.1 kB / 477 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.1911, allocations: 360.9 kB / 477.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.193, allocations: 1.255 MB / 478.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.1932, allocations: 176.7 kB / 478.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003533/0.1935, allocations: 239.9 kB / 479 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.2041, allocations: 6.021 MB / 485 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.226e-05/0.2042, allocations: 19.78 kB / 485 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.2044, allocations: 99.94 kB / 485.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001435/0.2059, allocations: 0.9613 MB / 486.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009813/0.2157, allocations: 4.493 MB / 490.6 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/0.2389, allocations: 18.53 MB / 0.4972 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/0.2433, allocations: 1.273 MB / 0.4984 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006836/0.244, allocations: 391.3 kB / 0.4988 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00167/0.2457, allocations: 2.058 MB / 0.5008 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2458, allocations: 43.12 kB / 0.5009 GB, free: 13.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.707e-06/0.2458, allocations: 4 kB / 0.5009 GB, free: 13.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02215/0.268, allocations: 5.873 MB / 0.5066 GB, free: 7.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.268, allocations: 90.11 kB / 0.5067 GB, free: 7.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002438/0.2705, allocations: 1.84 MB / 0.5085 GB, free: 5.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/0.2706, allocations: 41.7 kB / 0.5085 GB, free: 5.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.2716, allocations: 1.648 MB / 0.5101 GB, free: 3.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.2719, allocations: 414.5 kB / 0.5105 GB, free: 3.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.2726, allocations: 0.5561 MB / 0.5111 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.2727, allocations: 305.1 kB / 0.5114 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.274, allocations: 0.798 MB / 0.5121 GB, free: 1.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.2761, allocations: 2.362 MB / 0.5144 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.2797, allocations: 3.475 MB / 0.5178 GB, free: 10.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.054e-05/0.2798, allocations: 12 kB / 0.5178 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004691/0.2845, allocations: 3.161 MB / 0.5209 GB, free: 6.891 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/0.2845, allocations: 28 kB / 0.521 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.974e-05/0.2846, allocations: 63.94 kB / 0.521 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.784e-05/0.2847, allocations: 72 kB / 0.5211 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/0.2866, allocations: 0.6395 MB / 0.5217 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.474e-05/0.2867, allocations: 111.6 kB / 0.5218 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.2882, allocations: 128 kB / 0.5219 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/0.2884, allocations: 159.9 kB / 0.5221 GB, free: 5.699 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (361): * Single equations (assignments): 361 * 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.001527/0.2899, allocations: 1.203 MB / 0.5233 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.2902, allocations: 169.8 kB / 0.5234 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.2922, allocations: 1.274 MB / 0.5247 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.2922, allocations: 11.98 kB / 0.5247 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2922, allocations: 4 kB / 0.5247 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.2923, allocations: 7.969 kB / 0.5247 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1916/0.4839, allocations: 6.455 MB / 0.531 GB, free: 86.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.829e-05/0.484, allocations: 23.97 kB / 0.531 GB, free: 86.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.4847, allocations: 201.6 kB / 0.5312 GB, free: 86.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.964e-05/0.4847, allocations: 28.91 kB / 0.5312 GB, free: 86.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.4848, allocations: 44.22 kB / 0.5313 GB, free: 86.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.766e-05/0.4849, allocations: 39.47 kB / 0.5313 GB, free: 86.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-05/0.4849, allocations: 33.91 kB / 0.5314 GB, free: 86.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.4865, allocations: 1.669 MB / 0.533 GB, free: 85.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.4869, allocations: 275.6 kB / 0.5332 GB, free: 85.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.4871, allocations: 50.81 kB / 0.5333 GB, free: 85.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.4878, allocations: 31.64 kB / 0.5333 GB, free: 85.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4879, allocations: 143 kB / 0.5335 GB, free: 85.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.488, allocations: 52.25 kB / 0.5335 GB, free: 85.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001981/0.49, allocations: 1.232 MB / 0.5347 GB, free: 84.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.49, allocations: 0 / 0.5347 GB, free: 84.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002574/0.4926, allocations: 0.4915 MB / 0.5352 GB, free: 84.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.002386/0.495, allocations: 2.321 MB / 0.5375 GB, free: 83.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003223/0.4982, allocations: 1.917 MB / 0.5393 GB, free: 82.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/0.4982, allocations: 6.594 kB / 0.5393 GB, free: 82.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.4989, allocations: 491.2 kB / 0.5398 GB, free: 82.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.5005, allocations: 264 kB / 0.5401 GB, free: 82.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/0.5253, allocations: 22.55 MB / 0.5621 GB, free: 64.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.5271, allocations: 2.192 MB / 0.5642 GB, free: 62.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00172/0.5289, allocations: 0.7156 MB / 0.5649 GB, free: 61.51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009398/0.5298, allocations: 1.05 MB / 0.5659 GB, free: 60.46 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5298, allocations: 0 / 0.5659 GB, free: 60.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05454/0.5844, allocations: 35.91 MB / 0.601 GB, free: 24.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.062/9.647, allocations: 12 kB / 0.601 GB, free: 24.57 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches