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.0008941/0.0008942, allocations: 93.03 kB / 17.35 MB, free: 6.344 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.001037/0.001037, allocations: 171.5 kB / 18.25 MB, free: 5.504 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.295/1.295, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1817/0.1817, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 9.312 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1011, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.02739/0.1285, allocations: 33.08 MB / 0.4936 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.1426, allocations: 7.2 MB / 0.5006 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/0.1465, allocations: 139.7 kB / 0.5008 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.1471, allocations: 234.7 kB / 0.501 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.1483, allocations: 0.5679 MB / 0.5015 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1493, allocations: 483.2 kB / 0.502 GB, free: 3.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.1513, allocations: 2.489 MB / 0.5044 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2234/0.3747, allocations: 4.703 MB / 0.509 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.3758, allocations: 0.6066 MB / 0.5096 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.3773, allocations: 1.009 MB / 0.5106 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002162/0.3775, allocations: 89.06 kB / 0.5107 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.3787, allocations: 0.6816 MB / 0.5113 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008597/0.3796, allocations: 0.9375 MB / 0.5123 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008218/0.3804, allocations: 1.112 MB / 0.5133 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.3845, allocations: 4.137 MB / 0.5174 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3845, allocations: 0 / 0.5174 GB, free: 8.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3845, allocations: 0 / 0.5174 GB, free: 8.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.513e-05/0.3846, allocations: 3.094 kB / 0.5174 GB, free: 8.816 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.003935/0.3885, allocations: 2.287 MB / 0.5196 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3886, allocations: 9.625 kB / 0.5196 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004833/0.3891, allocations: 424.2 kB / 0.52 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.3902, allocations: 351.1 kB / 0.5204 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/0.392, allocations: 1.232 MB / 0.5216 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3921, allocations: 162.8 kB / 0.5217 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.3925, allocations: 227.8 kB / 0.5219 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00932/0.4018, allocations: 5.624 MB / 0.5274 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-05/0.4019, allocations: 18.92 kB / 0.5275 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002088/0.4021, allocations: 100.2 kB / 0.5275 GB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008702/0.403, allocations: 0.7751 MB / 0.5283 GB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008856/0.4119, allocations: 4.31 MB / 0.5325 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0208/0.4327, allocations: 17.15 MB / 0.5493 GB, free: 6.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.437, allocations: 1.246 MB / 0.5505 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.4377, allocations: 390.3 kB / 0.5508 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00176/0.4395, allocations: 2.055 MB / 0.5529 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.4395, allocations: 47.12 kB / 0.5529 GB, free: 2.547 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.026e-06/0.4396, allocations: 3.094 kB / 0.5529 GB, free: 2.547 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.02149/0.4611, allocations: 5.534 MB / 0.5583 GB, free: 13.03 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.4612, allocations: 72.34 kB / 0.5584 GB, free: 12.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.464, allocations: 1.725 MB / 0.5601 GB, free: 11.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.4641, allocations: 45.7 kB / 0.5601 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.4652, allocations: 1.501 MB / 0.5616 GB, free: 9.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.4655, allocations: 403.8 kB / 0.562 GB, free: 9.266 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.4659, allocations: 247 kB / 0.5622 GB, free: 9.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.466, allocations: 301.1 kB / 0.5625 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.4673, allocations: 0.7782 MB / 0.5632 GB, free: 7.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.4694, allocations: 2.22 MB / 0.5654 GB, free: 5.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003875/0.4733, allocations: 3.27 MB / 0.5686 GB, free: 1.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.96e-05/0.4734, allocations: 16 kB / 0.5686 GB, free: 1.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004706/0.4781, allocations: 2.997 MB / 0.5715 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.4782, allocations: 28 kB / 0.5716 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.928e-05/0.4782, allocations: 56.12 kB / 0.5716 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.971e-05/0.4783, allocations: 70.53 kB / 0.5717 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.4802, allocations: 0.5926 MB / 0.5723 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.264e-05/0.4803, allocations: 103.8 kB / 0.5724 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4817, allocations: 115.8 kB / 0.5725 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.4819, allocations: 148 kB / 0.5726 GB, free: 13.52 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.001736/0.4836, allocations: 1.122 MB / 0.5737 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.4839, allocations: 165.9 kB / 0.5739 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.4859, allocations: 1.247 MB / 0.5751 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.4859, allocations: 15.98 kB / 0.5751 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4859, allocations: 4.094 kB / 0.5751 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.4859, allocations: 7.969 kB / 0.5751 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009208/0.4952, allocations: 6.24 MB / 0.5812 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.4952, allocations: 24.03 kB / 0.5812 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.4959, allocations: 198.7 kB / 0.5814 GB, free: 4.328 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.778e-05/0.4959, allocations: 24 kB / 0.5814 GB, free: 4.305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/0.496, allocations: 47.98 kB / 0.5815 GB, free: 4.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.817e-05/0.496, allocations: 40.8 kB / 0.5815 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.961e-05/0.4961, allocations: 34.12 kB / 0.5816 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.4982, allocations: 1.662 MB / 0.5832 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.4987, allocations: 262.9 kB / 0.5834 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/0.499, allocations: 51.98 kB / 0.5835 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007391/0.4997, allocations: 43.92 kB / 0.5835 GB, free: 1.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.4999, allocations: 138.5 kB / 0.5837 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-05/0.4999, allocations: 48 kB / 0.5837 GB, free: 1.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001988/0.5019, allocations: 1.147 MB / 0.5848 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5019, allocations: 0 / 0.5848 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002456/0.5044, allocations: 468 kB / 0.5853 GB, free: 140 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.002777/0.5072, allocations: 2.318 MB / 0.5875 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00307/0.5103, allocations: 1.769 MB / 0.5893 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.5103, allocations: 4.188 kB / 0.5893 GB, free: 11.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006949/0.511, allocations: 497.5 kB / 0.5897 GB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005607/0.5166, allocations: 278 kB / 0.59 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03232/0.549, allocations: 22.29 MB / 0.6118 GB, free: 2.113 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.5516, allocations: 2.081 MB / 0.6138 GB, free: 0 / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001925/0.5536, allocations: 0.6712 MB / 0.6145 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/0.5548, allocations: 0.9523 MB / 0.6154 GB, free: 14.37 MB / 478.1 MB Notification: Performance of SimCode: time 1.873e-06/0.5548, allocations: 0 / 0.6154 GB, free: 14.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05367/0.6085, allocations: 33.39 MB / 0.648 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.6087, allocations: 184.3 kB / 0.6482 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.049, allocations: 0 / 0.6482 GB, free: 12.99 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