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.001426/0.001426, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001752/0.001752, allocations: 199 kB / 16.91 MB, free: 6.195 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.565/1.565, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.3537/0.3537, allocations: 43.49 MB / 313.6 MB, free: 8.492 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.001394/0.001394, allocations: 72.45 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1329, allocations: 57.77 MB / 440.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2894/0.4224, allocations: 34.75 MB / 474.9 MB, free: 29.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01843/0.4408, allocations: 7.259 MB / 482.1 MB, free: 25.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008309/0.4492, allocations: 135.1 kB / 482.2 MB, free: 25.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.4536, allocations: 2.575 MB / 484.8 MB, free: 24.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.4555, allocations: 0.6109 MB / 485.4 MB, free: 24.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.4568, allocations: 489.9 kB / 485.9 MB, free: 23.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00207/0.4589, allocations: 1.619 MB / 487.5 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004027/0.4629, allocations: 3.452 MB / 491 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.4648, allocations: 1.027 MB / 492 MB, free: 21.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.4668, allocations: 1.427 MB / 493.4 MB, free: 20.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006769/0.4675, allocations: 277.8 kB / 493.7 MB, free: 20.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.4695, allocations: 0.8122 MB / 494.5 MB, free: 20.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.471, allocations: 1.23 MB / 495.7 MB, free: 20 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.4726, allocations: 1.442 MB / 497.2 MB, free: 18.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008367/0.481, allocations: 4.582 MB / 0.49 GB, free: 17.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.481, allocations: 4 kB / 0.49 GB, free: 17.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.481, allocations: 0 / 0.49 GB, free: 17.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002091/0.4813, allocations: 0.9688 kB / 0.49 GB, free: 17.33 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.01018/0.4914, allocations: 2.943 MB / 0.4929 GB, free: 15.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.145e-05/0.4915, allocations: 12.8 kB / 0.4929 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009169/0.4925, allocations: 466.1 kB / 0.4933 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.494, allocations: 354.3 kB / 0.4937 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.4963, allocations: 1.256 MB / 0.4949 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.4964, allocations: 173.8 kB / 0.4951 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003787/0.4968, allocations: 244.3 kB / 0.4953 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.5113, allocations: 6.019 MB / 0.5012 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.016e-05/0.5114, allocations: 13.31 kB / 0.5012 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002556/0.5117, allocations: 102.6 kB / 0.5013 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001854/0.5136, allocations: 0.9591 MB / 0.5022 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.5263, allocations: 4.501 MB / 0.5066 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.5542, allocations: 18.54 MB / 0.5247 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/0.5586, allocations: 1.273 MB / 0.526 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006543/0.5592, allocations: 383.3 kB / 0.5263 GB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.561, allocations: 2.061 MB / 0.5283 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.561, allocations: 43.06 kB / 0.5284 GB, free: 5.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 3.266e-06/0.561, allocations: 0 / 0.5284 GB, free: 5.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02249/0.5835, allocations: 5.882 MB / 0.5341 GB, free: 15.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.5836, allocations: 94.05 kB / 0.5342 GB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.5864, allocations: 1.836 MB / 0.536 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.5865, allocations: 45.7 kB / 0.5361 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.5876, allocations: 1.652 MB / 0.5377 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.588, allocations: 406.5 kB / 0.5381 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007847/0.5888, allocations: 0.5522 MB / 0.5386 GB, free: 11.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.589, allocations: 301.1 kB / 0.5389 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.5903, allocations: 0.8058 MB / 0.5397 GB, free: 9.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/0.593, allocations: 2.362 MB / 0.542 GB, free: 6.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004312/0.5973, allocations: 3.463 MB / 0.5454 GB, free: 2.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.132e-05/0.5973, allocations: 20 kB / 0.5454 GB, free: 2.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.005126/0.6025, allocations: 3.157 MB / 0.5485 GB, free: 15.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.6026, allocations: 28 kB / 0.5485 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.03e-05/0.6026, allocations: 60.12 kB / 0.5485 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.873e-05/0.6027, allocations: 72 kB / 0.5486 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.6046, allocations: 0.6511 MB / 0.5493 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-05/0.6047, allocations: 107.6 kB / 0.5494 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.6066, allocations: 119.9 kB / 0.5495 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.6068, allocations: 160 kB / 0.5496 GB, free: 14.27 MB / 430.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.002519/0.6093, allocations: 1.203 MB / 0.5508 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/0.6098, allocations: 173.7 kB / 0.551 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.6122, allocations: 1.27 MB / 0.5522 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.6122, allocations: 12 kB / 0.5522 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.6122, allocations: 0 / 0.5522 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.6122, allocations: 7.969 kB / 0.5522 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.6225, allocations: 6.467 MB / 0.5585 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/0.6226, allocations: 20 kB / 0.5586 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006834/0.6233, allocations: 203.6 kB / 0.5588 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.636e-05/0.6233, allocations: 28 kB / 0.5588 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.6234, allocations: 40 kB / 0.5588 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-05/0.6235, allocations: 47.73 kB / 0.5589 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-05/0.6235, allocations: 31.88 kB / 0.5589 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/0.6261, allocations: 1.676 MB / 0.5605 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006045/0.6267, allocations: 266.8 kB / 0.5608 GB, free: 2.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/0.6269, allocations: 55.92 kB / 0.5608 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.6276, allocations: 39.98 kB / 0.5609 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6278, allocations: 131.4 kB / 0.561 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.6279, allocations: 52 kB / 0.5611 GB, free: 1.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001941/0.6298, allocations: 1.232 MB / 0.5623 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6298, allocations: 0 / 0.5623 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002714/0.6326, allocations: 500 kB / 0.5627 GB, free: 120 kB / 430.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.002972/0.6355, allocations: 2.331 MB / 0.565 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.6392, allocations: 1.905 MB / 0.5669 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.05e-05/0.6392, allocations: 4 kB / 0.5669 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007313/0.6399, allocations: 0.4928 MB / 0.5674 GB, free: 11.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.6418, allocations: 273.6 kB / 0.5676 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/0.6796, allocations: 23.74 MB / 0.5908 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.6821, allocations: 2.186 MB / 0.5929 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00212/0.6843, allocations: 0.7112 MB / 0.5936 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.6857, allocations: 1.05 MB / 0.5946 GB, free: 11.81 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6857, allocations: 0 / 0.5946 GB, free: 11.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.257/1.943, allocations: 35.78 MB / 0.6296 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/1.943, allocations: 192.8 kB / 0.6298 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.955/4.898, allocations: 0 / 0.6298 GB, free: 7.805 MB / 0.4981 GB (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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches