Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01615/0.01615, allocations: 104.1 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001777/0.001777, allocations: 171.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.899/1.899, allocations: 170.9 MB / 187.5 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3058/0.3058, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006801/0.0006804, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1129, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04497/0.158, allocations: 28.47 MB / 400.8 MB, free: 312 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01929/0.1773, allocations: 6.702 MB / 407.5 MB, free: 9.578 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005763/0.1832, allocations: 131.8 kB / 407.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005209/0.1884, allocations: 1.404 MB / 409 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01523/0.2037, allocations: 3.705 MB / 412.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.2068, allocations: 407.2 kB / 413.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002848/0.2096, allocations: 0.9212 MB / 414 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008793/0.2185, allocations: 4.013 MB / 418 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.2198, allocations: 0.5215 MB / 418.6 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.2214, allocations: 0.7006 MB / 419.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000443/0.2218, allocations: 96 kB / 419.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.2235, allocations: 0.5032 MB / 419.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.225, allocations: 0.9001 MB / 420.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.2259, allocations: 0.5158 MB / 421.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00938/0.2353, allocations: 3.674 MB / 424.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2354, allocations: 0 / 424.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.367e-06/0.2354, allocations: 0 / 424.9 MB, free: 8.008 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001836/0.2356, allocations: 11.88 kB / 425 MB, free: 7.996 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.01026/0.2459, allocations: 2.431 MB / 427.4 MB, free: 5.504 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.246, allocations: 8.031 kB / 427.4 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001607/0.2476, allocations: 460.8 kB / 427.8 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.2499, allocations: 364 kB / 428.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.254, allocations: 1.219 MB / 429.4 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.2543, allocations: 172.5 kB / 429.6 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000765/0.255, allocations: 235.9 kB / 429.8 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2923/0.5473, allocations: 6.084 MB / 435.9 MB, free: 59.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.5475, allocations: 14.78 kB / 435.9 MB, free: 59.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004154/0.548, allocations: 105 kB / 436 MB, free: 59.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/0.5509, allocations: 0.9578 MB / 437 MB, free: 59.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01987/0.5708, allocations: 4.574 MB / 441.6 MB, free: 58.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/0.6045, allocations: 18.47 MB / 460 MB, free: 43.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006992/0.6115, allocations: 1.273 MB / 461.3 MB, free: 43.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002154/0.6137, allocations: 2.07 MB / 463.4 MB, free: 41.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.6138, allocations: 46.75 kB / 463.4 MB, free: 41.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=66): time 3.557e-06/0.6138, allocations: 0 / 463.4 MB, free: 41.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.03906/0.6529, allocations: 5.977 MB / 469.4 MB, free: 35.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.653, allocations: 90.11 kB / 469.5 MB, free: 34.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.656, allocations: 1.792 MB / 471.3 MB, free: 33.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001975/0.6563, allocations: 45.7 kB / 471.3 MB, free: 33.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.6574, allocations: 1.652 MB / 473 MB, free: 31.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/0.6579, allocations: 400.1 kB / 473.4 MB, free: 31.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.658, allocations: 60 kB / 473.4 MB, free: 31 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.6582, allocations: 419.7 kB / 473.8 MB, free: 30.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.6601, allocations: 0.7863 MB / 474.6 MB, free: 29.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.6627, allocations: 2.316 MB / 476.9 MB, free: 26.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002939/0.6657, allocations: 1.33 MB / 478.3 MB, free: 25.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.253e-05/0.6658, allocations: 16 kB / 478.3 MB, free: 25.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.007175/0.673, allocations: 3.109 MB / 481.4 MB, free: 22.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.6731, allocations: 29.59 kB / 481.4 MB, free: 22.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.422e-05/0.6732, allocations: 56 kB / 481.5 MB, free: 22.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.824e-05/0.6733, allocations: 86.06 kB / 481.5 MB, free: 22.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/0.6771, allocations: 0.6395 MB / 482.2 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001092/0.6772, allocations: 107.6 kB / 482.3 MB, free: 21.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.6797, allocations: 123.8 kB / 482.4 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000271/0.68, allocations: 160 kB / 482.6 MB, free: 21.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 31 (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.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 (358): * Single equations (assignments): 358 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002374/0.6824, allocations: 1.185 MB / 483.8 MB, free: 19.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.6828, allocations: 173.8 kB / 483.9 MB, free: 19.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/0.6858, allocations: 1.259 MB / 485.2 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.6859, allocations: 16.03 kB / 485.2 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.6859, allocations: 0 / 485.2 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.6859, allocations: 3.984 kB / 485.2 MB, free: 18.4 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.6989, allocations: 6.451 MB / 491.7 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/0.699, allocations: 20 kB / 491.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.7002, allocations: 203.6 kB / 491.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.157e-05/0.7002, allocations: 28.14 kB / 491.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/0.7003, allocations: 44 kB / 491.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.939e-05/0.7004, allocations: 39.86 kB / 492 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.191e-05/0.7004, allocations: 35.81 kB / 492 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00312/0.7035, allocations: 3.197 MB / 495.2 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.7041, allocations: 278.8 kB / 495.5 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.7044, allocations: 43.98 kB / 495.5 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.7056, allocations: 43.94 kB / 495.6 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.7058, allocations: 136.2 kB / 495.7 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.218e-05/0.7059, allocations: 56 kB / 495.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002215/0.7081, allocations: 1.196 MB / 497 MB, free: 5.207 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-07/0.7081, allocations: 0 / 497 MB, free: 5.207 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003301/0.7114, allocations: 499.4 kB / 497.4 MB, free: 4.723 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005945/0.7174, allocations: 9.454 MB / 0.495 GB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005039/0.7225, allocations: 1.805 MB / 0.4968 GB, free: 8.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.221e-05/0.7226, allocations: 7.938 kB / 0.4968 GB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7239, allocations: 499.8 kB / 0.4973 GB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.7258, allocations: 245.2 kB / 0.4975 GB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03796/0.7638, allocations: 46.38 MB / 0.5428 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004331/0.7682, allocations: 2.236 MB / 0.545 GB, free: 5.793 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003757/0.772, allocations: 0.7072 MB / 0.5457 GB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/0.7747, allocations: 1.042 MB / 0.5467 GB, free: 4.039 MB / 394.7 MB Notification: Performance of SimCode: time 1.704e-06/0.7747, allocations: 4 kB / 0.5467 GB, free: 4.035 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4038/1.179, allocations: 36.39 MB / 0.5822 GB, free: 133.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/1.179, allocations: 174.2 kB / 0.5824 GB, free: 133.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.677/4.855, allocations: 4.875 kB / 0.5824 GB, free: 133.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat