Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_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.001064/0.001064, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.0009907/0.0009907, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 44.17 MB / 336.1 MB, free: 3.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001529, allocations: 65.31 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1346, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03692/0.1716, allocations: 34.06 MB / 0.4909 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01983/0.1915, allocations: 7.247 MB / 0.498 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008771/0.2003, allocations: 139.7 kB / 0.4981 GB, free: 5.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005846/0.2062, allocations: 2.654 MB / 0.5007 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.2089, allocations: 0.5678 MB / 0.5013 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.2107, allocations: 483.2 kB / 0.5017 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2635/0.4742, allocations: 2.478 MB / 0.5041 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005509/0.4798, allocations: 3.197 MB / 0.5073 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.4818, allocations: 0.8544 MB / 0.5081 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.4852, allocations: 1.318 MB / 0.5094 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001294/0.4865, allocations: 193.3 kB / 0.5096 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.4887, allocations: 0.7856 MB / 0.5103 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001821/0.4905, allocations: 1.091 MB / 0.5114 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.4925, allocations: 1.28 MB / 0.5127 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00466/0.4972, allocations: 4.288 MB / 0.5168 GB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4972, allocations: 0 / 0.5168 GB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4972, allocations: 0 / 0.5168 GB, free: 9.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-05/0.4973, allocations: 0 / 0.5168 GB, free: 9.395 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.00691/0.5042, allocations: 2.784 MB / 0.5196 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.5043, allocations: 10.25 kB / 0.5196 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005994/0.5049, allocations: 422.1 kB / 0.52 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.5062, allocations: 353.4 kB / 0.5203 GB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.5083, allocations: 1.228 MB / 0.5215 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.5084, allocations: 163.7 kB / 0.5217 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/0.5088, allocations: 225.7 kB / 0.5219 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/0.5197, allocations: 5.605 MB / 0.5273 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-05/0.5198, allocations: 18.23 kB / 0.5274 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.52, allocations: 96.52 kB / 0.5275 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009991/0.521, allocations: 0.7782 MB / 0.5282 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0097/0.5307, allocations: 4.284 MB / 0.5324 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02358/0.5544, allocations: 17.13 MB / 0.5491 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.5584, allocations: 1.237 MB / 0.5503 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006073/0.559, allocations: 394.3 kB / 0.5507 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.5606, allocations: 2.056 MB / 0.5527 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.5607, allocations: 47.12 kB / 0.5528 GB, free: 376 kB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 4.077e-06/0.5607, allocations: 0 / 0.5528 GB, free: 376 kB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.02142/0.5821, allocations: 5.45 MB / 0.5581 GB, free: 10.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.5822, allocations: 64.41 kB / 0.5582 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003149/0.5854, allocations: 1.725 MB / 0.5598 GB, free: 9.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.5855, allocations: 45.7 kB / 0.5599 GB, free: 9.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009609/0.5865, allocations: 1.503 MB / 0.5613 GB, free: 7.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.5868, allocations: 403.4 kB / 0.5617 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000672/0.5874, allocations: 0.5298 MB / 0.5623 GB, free: 6.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.5876, allocations: 301.1 kB / 0.5625 GB, free: 6.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.5887, allocations: 0.7743 MB / 0.5633 GB, free: 5.566 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002126/0.5909, allocations: 2.217 MB / 0.5655 GB, free: 2.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/0.5945, allocations: 3.285 MB / 0.5687 GB, free: 14.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/0.5945, allocations: 12 kB / 0.5687 GB, free: 14.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004534/0.599, allocations: 2.999 MB / 0.5716 GB, free: 12.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/0.5991, allocations: 24 kB / 0.5716 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-05/0.5991, allocations: 52 kB / 0.5717 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.309e-05/0.5992, allocations: 68 kB / 0.5717 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.6009, allocations: 0.5941 MB / 0.5723 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.4e-05/0.601, allocations: 101.9 kB / 0.5724 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6025, allocations: 119.9 kB / 0.5725 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.6026, allocations: 144 kB / 0.5727 GB, free: 11.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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 (340): * Single equations (assignments): 340 * 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.001866/0.6045, allocations: 1.121 MB / 0.5738 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.6047, allocations: 165.9 kB / 0.5739 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.6067, allocations: 1.248 MB / 0.5751 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.6067, allocations: 12 kB / 0.5752 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.6067, allocations: 0 / 0.5752 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6068, allocations: 7.969 kB / 0.5752 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008115/0.6149, allocations: 6.238 MB / 0.5813 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.858e-05/0.6149, allocations: 20 kB / 0.5813 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.6156, allocations: 207.6 kB / 0.5815 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.031e-05/0.6156, allocations: 28 kB / 0.5815 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.56e-05/0.6157, allocations: 40.66 kB / 0.5815 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.534e-05/0.6157, allocations: 39.86 kB / 0.5816 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.308e-05/0.6158, allocations: 35.91 kB / 0.5816 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.6178, allocations: 1.667 MB / 0.5832 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.6182, allocations: 258.9 kB / 0.5835 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.6184, allocations: 47.98 kB / 0.5835 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.619, allocations: 39.94 kB / 0.5836 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6191, allocations: 132.7 kB / 0.5837 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/0.6192, allocations: 55.98 kB / 0.5838 GB, free: 15.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.6207, allocations: 1.139 MB / 0.5849 GB, free: 14.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6207, allocations: 4 kB / 0.5849 GB, free: 14.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002141/0.6228, allocations: 475.9 kB / 0.5853 GB, free: 13.77 MB / 446.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.002269/0.6251, allocations: 2.308 MB / 0.5876 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002731/0.6278, allocations: 1.777 MB / 0.5893 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.6279, allocations: 5.812 kB / 0.5893 GB, free: 9.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.6285, allocations: 494.5 kB / 0.5898 GB, free: 9.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.6301, allocations: 267.6 kB / 0.59 GB, free: 8.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03516/0.6653, allocations: 22.28 MB / 0.6118 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003334/0.6686, allocations: 2.077 MB / 0.6138 GB, free: 13.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002065/0.6707, allocations: 0.675 MB / 0.6145 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001615/0.6724, allocations: 0.9626 MB / 0.6154 GB, free: 12.04 MB / 478.1 MB Notification: Performance of SimCode: time 1.432e-06/0.6724, allocations: 0 / 0.6154 GB, free: 12.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3922/1.065, allocations: 33.76 MB / 0.6484 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/1.065, allocations: 199 kB / 0.6486 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.378, allocations: 0 / 0.6486 GB, free: 10.26 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches