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.0009804/0.0009804, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009525/0.0009525, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.396/1.396, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.3427/0.3427, allocations: 43.58 MB / 315 MB, free: 8.688 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.000506/0.0005061, allocations: 12 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 58.87 MB / 443.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.2213/0.3342, allocations: 33.78 MB / 477.3 MB, free: 28.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.3483, allocations: 7.424 MB / 484.7 MB, free: 25.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004881/0.3532, allocations: 134.5 kB / 484.9 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007067/0.354, allocations: 251.1 kB / 485.1 MB, free: 25.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.3555, allocations: 0.6192 MB / 485.7 MB, free: 25.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.3569, allocations: 0.6614 MB / 486.4 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002308/0.3592, allocations: 2.754 MB / 489.2 MB, free: 23.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004624/0.3638, allocations: 4.785 MB / 493.9 MB, free: 21.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008878/0.3647, allocations: 0.6777 MB / 494.6 MB, free: 21.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3658, allocations: 1.104 MB / 495.7 MB, free: 21.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.366, allocations: 98.5 kB / 495.8 MB, free: 21.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.3674, allocations: 0.8779 MB / 496.7 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008236/0.3683, allocations: 0.9975 MB / 497.7 MB, free: 20.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008606/0.3692, allocations: 1.213 MB / 498.9 MB, free: 19.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004891/0.374, allocations: 4.549 MB / 0.4917 GB, free: 18.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3741, allocations: 1.219 kB / 0.4917 GB, free: 18.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3741, allocations: 0 / 0.4917 GB, free: 18.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001222/0.3742, allocations: 4 kB / 0.4917 GB, free: 18.54 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.006606/0.3808, allocations: 2.539 MB / 0.4941 GB, free: 17.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.904e-05/0.3809, allocations: 17.34 kB / 0.4942 GB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001254/0.3822, allocations: 468.8 kB / 0.4946 GB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3838, allocations: 364.5 kB / 0.495 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.3862, allocations: 1.32 MB / 0.4962 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.3864, allocations: 173.6 kB / 0.4964 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004056/0.3868, allocations: 236.1 kB / 0.4966 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01545/0.4022, allocations: 6.922 MB / 0.5034 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.447e-05/0.4024, allocations: 13.41 kB / 0.5034 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.4026, allocations: 106.9 kB / 0.5035 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001496/0.4041, allocations: 0.9885 MB / 0.5045 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.4169, allocations: 5.702 MB / 0.51 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02297/0.4399, allocations: 20.3 MB / 0.5299 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.4471, allocations: 1.833 MB / 0.5317 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.4483, allocations: 0.6867 MB / 0.5323 GB, free: 3.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007045/0.4553, allocations: 4.884 MB / 0.5371 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.4554, allocations: 43.12 kB / 0.5371 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.575e-06/0.4554, allocations: 0 / 0.5371 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.04228/0.4977, allocations: 9.355 MB / 0.5463 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4979, allocations: 94.05 kB / 0.5464 GB, free: 5.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004113/0.502, allocations: 1.966 MB / 0.5483 GB, free: 3.152 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.5022, allocations: 45.7 kB / 0.5483 GB, free: 3.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.5035, allocations: 1.671 MB / 0.55 GB, free: 1.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.504, allocations: 418.5 kB / 0.5504 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005036/0.5045, allocations: 255.7 kB / 0.5506 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.5046, allocations: 301.1 kB / 0.5509 GB, free: 448 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.5066, allocations: 1.044 MB / 0.5519 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/0.5098, allocations: 2.66 MB / 0.5545 GB, free: 11.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/0.5151, allocations: 3.991 MB / 0.5584 GB, free: 7.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.884e-05/0.5151, allocations: 16 kB / 0.5584 GB, free: 7.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.006192/0.5213, allocations: 3.676 MB / 0.562 GB, free: 3.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.5214, allocations: 28 kB / 0.562 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-05/0.5215, allocations: 63.94 kB / 0.5621 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.162e-05/0.5216, allocations: 79.94 kB / 0.5622 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.5241, allocations: 0.7102 MB / 0.5629 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001111/0.5242, allocations: 119.6 kB / 0.563 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.5262, allocations: 159.7 kB / 0.5631 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.5265, allocations: 164 kB / 0.5633 GB, free: 2.129 MB / 430.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.002277/0.5288, allocations: 1.199 MB / 0.5645 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.5292, allocations: 181.7 kB / 0.5646 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003125/0.5323, allocations: 1.731 MB / 0.5663 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.5324, allocations: 15.94 kB / 0.5663 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5324, allocations: 0 / 0.5663 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.5324, allocations: 7.969 kB / 0.5663 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.5429, allocations: 5.877 MB / 0.5721 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/0.5429, allocations: 12 kB / 0.5721 GB, free: 8.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.5438, allocations: 207.6 kB / 0.5723 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/0.5439, allocations: 23.97 kB / 0.5723 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.5439, allocations: 36 kB / 0.5724 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-05/0.544, allocations: 23.92 kB / 0.5724 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.544, allocations: 19.88 kB / 0.5724 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.5462, allocations: 1.697 MB / 0.5741 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000607/0.5469, allocations: 270.7 kB / 0.5743 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.5473, allocations: 35.92 kB / 0.5743 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/0.5482, allocations: 39.98 kB / 0.5744 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.5484, allocations: 104.2 kB / 0.5745 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/0.5485, allocations: 40 kB / 0.5745 GB, free: 6.137 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002439/0.5509, allocations: 1.292 MB / 0.5758 GB, free: 4.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5509, allocations: 0 / 0.5758 GB, free: 4.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002742/0.5537, allocations: 0.5312 MB / 0.5763 GB, free: 4.289 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.002844/0.5565, allocations: 2.34 MB / 0.5786 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.5603, allocations: 2.255 MB / 0.5808 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.5603, allocations: 5 kB / 0.5808 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008572/0.5612, allocations: 0.5913 MB / 0.5814 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00461/0.5658, allocations: 265.8 kB / 0.5816 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04346/0.6093, allocations: 25.29 MB / 0.6063 GB, free: 2.152 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.6122, allocations: 2.184 MB / 0.6084 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002418/0.6147, allocations: 0.7703 MB / 0.6092 GB, free: 15.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/0.6165, allocations: 1.066 MB / 0.6102 GB, free: 14.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6165, allocations: 0 / 0.6102 GB, free: 14.1 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2691/0.8856, allocations: 38.43 MB / 0.6478 GB, free: 158.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.8859, allocations: 203 kB / 0.648 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.644, allocations: 0 / 0.648 GB, free: 158.5 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