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.001123/0.001123, allocations: 105.9 kB / 15.98 MB, free: 6.34 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.001244/0.001244, allocations: 185.2 kB / 16.9 MB, free: 6.184 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.351/1.351, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2016/0.2016, allocations: 43.51 MB / 313.6 MB, free: 0.707 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.001449/0.001449, allocations: 65.69 kB / 382.3 MB, free: 56.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1233, allocations: 57.79 MB / 440.1 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.03351/0.1568, allocations: 34.78 MB / 474.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.1753, allocations: 7.416 MB / 482.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007577/0.1829, allocations: 139.7 kB / 482.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005013/0.188, allocations: 2.544 MB / 485 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.1903, allocations: 0.6028 MB / 485.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.1921, allocations: 0.663 MB / 486.3 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002456/0.1945, allocations: 1.718 MB / 488 MB, free: 7.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00383/0.1984, allocations: 3.494 MB / 491.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.1999, allocations: 1.063 MB / 492.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00179/0.2017, allocations: 1.468 MB / 494 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004186/0.2022, allocations: 284 kB / 494.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.2039, allocations: 0.9987 MB / 495.3 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.2051, allocations: 1.247 MB / 496.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.2067, allocations: 1.465 MB / 498 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.2119, allocations: 4.798 MB / 0.491 GB, free: 8.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2119, allocations: 3.938 kB / 0.491 GB, free: 8.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.103e-06/0.2119, allocations: 3.938 kB / 0.491 GB, free: 8.301 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.212, allocations: 4 kB / 0.491 GB, free: 8.297 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.007307/0.2194, allocations: 3.075 MB / 0.494 GB, free: 5.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.2194, allocations: 15.89 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007362/0.2202, allocations: 457.4 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.2216, allocations: 368.8 kB / 0.4948 GB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/0.224, allocations: 1.325 MB / 0.4961 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.2242, allocations: 176.5 kB / 0.4963 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003901/0.2246, allocations: 235.8 kB / 0.4965 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/0.2394, allocations: 6.892 MB / 0.5032 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.041e-05/0.2395, allocations: 11.88 kB / 0.5032 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002863/0.2398, allocations: 103.9 kB / 0.5033 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001613/0.2415, allocations: 0.9925 MB / 0.5043 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.2554, allocations: 5.666 MB / 0.5098 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2718/0.5272, allocations: 20.28 MB / 0.5297 GB, free: 87.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007441/0.5347, allocations: 1.807 MB / 0.5314 GB, free: 87.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.536, allocations: 0.6911 MB / 0.5321 GB, free: 87.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007159/0.5431, allocations: 4.868 MB / 0.5369 GB, free: 85.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.5432, allocations: 46.16 kB / 0.5369 GB, free: 85.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 3.737e-06/0.5432, allocations: 0 / 0.5369 GB, free: 85.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.04149/0.5847, allocations: 9.243 MB / 0.5459 GB, free: 84.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.5848, allocations: 85.98 kB / 0.546 GB, free: 83.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003205/0.588, allocations: 1.976 MB / 0.5479 GB, free: 82.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.5882, allocations: 41.45 kB / 0.548 GB, free: 82.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008473/0.5891, allocations: 1.672 MB / 0.5496 GB, free: 81.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.5894, allocations: 413.4 kB / 0.55 GB, free: 81.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006798/0.5901, allocations: 0.588 MB / 0.5506 GB, free: 80.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.5901, allocations: 301.1 kB / 0.5509 GB, free: 80.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.5914, allocations: 1.037 MB / 0.5519 GB, free: 79.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.5933, allocations: 2.661 MB / 0.5545 GB, free: 77.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003409/0.5967, allocations: 3.988 MB / 0.5584 GB, free: 73.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-05/0.5968, allocations: 17.69 kB / 0.5584 GB, free: 73.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.004825/0.6016, allocations: 3.684 MB / 0.562 GB, free: 70.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.6017, allocations: 28 kB / 0.562 GB, free: 70.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.076e-05/0.6017, allocations: 63.94 kB / 0.5621 GB, free: 70.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.775e-05/0.6018, allocations: 76 kB / 0.5621 GB, free: 70.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.6039, allocations: 0.7115 MB / 0.5628 GB, free: 69.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-05/0.604, allocations: 111.6 kB / 0.5629 GB, free: 69.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.6058, allocations: 163.8 kB / 0.5631 GB, free: 69.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.606, allocations: 168 kB / 0.5633 GB, free: 69.51 MB / 414.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.001468/0.6075, allocations: 1.201 MB / 0.5644 GB, free: 68.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.6078, allocations: 185.7 kB / 0.5646 GB, free: 68.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002299/0.6101, allocations: 1.727 MB / 0.5663 GB, free: 66.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.6101, allocations: 12 kB / 0.5663 GB, free: 66.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.6101, allocations: 7.922 kB / 0.5663 GB, free: 66.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.6101, allocations: 7.984 kB / 0.5663 GB, free: 66.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007372/0.6175, allocations: 5.883 MB / 0.5721 GB, free: 60.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.6176, allocations: 15.94 kB / 0.5721 GB, free: 60.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007614/0.6183, allocations: 213 kB / 0.5723 GB, free: 60.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.806e-05/0.6184, allocations: 16 kB / 0.5723 GB, free: 60 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.6184, allocations: 36 kB / 0.5723 GB, free: 59.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/0.6185, allocations: 27.86 kB / 0.5724 GB, free: 59.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.6185, allocations: 15.94 kB / 0.5724 GB, free: 59.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.6202, allocations: 1.689 MB / 0.574 GB, free: 58.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003652/0.6206, allocations: 270.7 kB / 0.5743 GB, free: 57.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.6208, allocations: 32 kB / 0.5743 GB, free: 57.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.6215, allocations: 43.97 kB / 0.5744 GB, free: 57.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.6216, allocations: 100.2 kB / 0.5745 GB, free: 57.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.907e-05/0.6217, allocations: 48.69 kB / 0.5745 GB, free: 57.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001699/0.6234, allocations: 1.288 MB / 0.5758 GB, free: 56.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6234, allocations: 0 / 0.5758 GB, free: 56.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0026/0.626, allocations: 0.5295 MB / 0.5763 GB, free: 55.71 MB / 414.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.00202/0.6281, allocations: 2.331 MB / 0.5786 GB, free: 53.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003375/0.6315, allocations: 2.502 MB / 0.581 GB, free: 50.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/0.6315, allocations: 8 kB / 0.581 GB, free: 50.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.6322, allocations: 0.5929 MB / 0.5816 GB, free: 50.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.6335, allocations: 260 kB / 0.5818 GB, free: 49.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/0.6643, allocations: 25.26 MB / 0.6065 GB, free: 21.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.6661, allocations: 2.18 MB / 0.6086 GB, free: 19.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002014/0.6681, allocations: 0.7729 MB / 0.6094 GB, free: 18.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.6693, allocations: 1.069 MB / 0.6104 GB, free: 17.38 MB / 414.1 MB Notification: Performance of SimCode: time 2.394e-06/0.6693, allocations: 0 / 0.6104 GB, free: 17.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07692/0.7462, allocations: 39.72 MB / 0.6492 GB, free: 9.699 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.7465, allocations: 188.7 kB / 0.6494 GB, free: 9.445 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.22/3.966, allocations: 3.938 kB / 0.6494 GB, free: 9.441 MB / 446.1 MB (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