Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_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.0007572/0.0007573, allocations: 95.34 kB / 17.35 MB, free: 6.031 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.001272/0.001272, allocations: 174 kB / 18.26 MB, free: 5.391 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.256/1.256, allocations: 223.3 MB / 242.3 MB, free: 204 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.1787/0.1787, allocations: 44.25 MB / 337.7 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.02925/0.132, allocations: 33.08 MB / 0.4936 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.1469, allocations: 7.399 MB / 0.5008 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005652/0.1525, allocations: 143.7 kB / 0.501 GB, free: 4.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008858/0.1535, allocations: 230.7 kB / 0.5012 GB, free: 4.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.1552, allocations: 0.5601 MB / 0.5017 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.157, allocations: 0.6513 MB / 0.5024 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002765/0.1598, allocations: 2.565 MB / 0.5049 GB, free: 476 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2251/0.3849, allocations: 4.712 MB / 0.5095 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.386, allocations: 0.6362 MB / 0.5101 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.3875, allocations: 1.05 MB / 0.5111 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.3877, allocations: 91 kB / 0.5112 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.3892, allocations: 0.885 MB / 0.5121 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009433/0.3902, allocations: 0.9419 MB / 0.513 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008744/0.3911, allocations: 1.125 MB / 0.5141 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.3957, allocations: 4.341 MB / 0.5183 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3957, allocations: 0.9688 kB / 0.5183 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3957, allocations: 0 / 0.5183 GB, free: 9.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001011/0.3958, allocations: 0 / 0.5183 GB, free: 9.207 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.005134/0.4009, allocations: 2.415 MB / 0.5207 GB, free: 8.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.401, allocations: 9.062 kB / 0.5207 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006069/0.4016, allocations: 429.4 kB / 0.5211 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.4028, allocations: 362.4 kB / 0.5214 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.4048, allocations: 1.296 MB / 0.5227 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.821e-05/0.4049, allocations: 163.1 kB / 0.5229 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.4053, allocations: 220.3 kB / 0.5231 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.419, allocations: 6.51 MB / 0.5294 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.451e-05/0.4191, allocations: 12.59 kB / 0.5294 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.4193, allocations: 98.34 kB / 0.5295 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/0.4208, allocations: 0.8079 MB / 0.5303 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.4331, allocations: 5.503 MB / 0.5357 GB, free: 2.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.4581, allocations: 19.09 MB / 0.5543 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007155/0.4653, allocations: 1.822 MB / 0.5561 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.4664, allocations: 0.69 MB / 0.5568 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006581/0.473, allocations: 4.706 MB / 0.5614 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.473, allocations: 47.11 kB / 0.5614 GB, free: 9.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/0.4731, allocations: 0 / 0.5614 GB, free: 9.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.04135/0.5144, allocations: 8.926 MB / 0.5702 GB, free: 1.059 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5145, allocations: 60.41 kB / 0.5702 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.5175, allocations: 1.84 MB / 0.572 GB, free: 15.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001688/0.5177, allocations: 45.7 kB / 0.5721 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.5188, allocations: 1.533 MB / 0.5736 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/0.5192, allocations: 403 kB / 0.5739 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004159/0.5196, allocations: 255.3 kB / 0.5742 GB, free: 12.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.5197, allocations: 309.1 kB / 0.5745 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.5216, allocations: 1.017 MB / 0.5755 GB, free: 11.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002776/0.5244, allocations: 2.523 MB / 0.5779 GB, free: 8.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004836/0.5292, allocations: 3.813 MB / 0.5817 GB, free: 4.027 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.49e-05/0.5293, allocations: 16 kB / 0.5817 GB, free: 4.012 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006362/0.5357, allocations: 3.536 MB / 0.5851 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.5358, allocations: 28 kB / 0.5851 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.081e-05/0.5358, allocations: 52 kB / 0.5852 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.508e-05/0.5359, allocations: 72 kB / 0.5853 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.5382, allocations: 0.6625 MB / 0.5859 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000108/0.5384, allocations: 103.4 kB / 0.586 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.5402, allocations: 160.1 kB / 0.5862 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.5405, allocations: 156 kB / 0.5863 GB, free: 15.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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 (352): * Single equations (assignments): 352 * 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.002179/0.5427, allocations: 1.132 MB / 0.5874 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.543, allocations: 165.8 kB / 0.5876 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003097/0.5461, allocations: 1.76 MB / 0.5893 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.5461, allocations: 12 kB / 0.5893 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5462, allocations: 0 / 0.5893 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.5462, allocations: 7.922 kB / 0.5893 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.5564, allocations: 5.597 MB / 0.5948 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.5565, allocations: 12 kB / 0.5948 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000905/0.5574, allocations: 206.4 kB / 0.595 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.248e-05/0.5575, allocations: 18.53 kB / 0.595 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.5575, allocations: 36 kB / 0.595 GB, free: 6.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-05/0.5576, allocations: 23.27 kB / 0.5951 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.5576, allocations: 26.69 kB / 0.5951 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.5598, allocations: 1.67 MB / 0.5967 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005131/0.5603, allocations: 258.8 kB / 0.597 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.5606, allocations: 35.98 kB / 0.597 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.5615, allocations: 39.98 kB / 0.597 GB, free: 4.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5616, allocations: 102.6 kB / 0.5971 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.945e-05/0.5617, allocations: 48 kB / 0.5972 GB, free: 4.234 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002158/0.5638, allocations: 1.199 MB / 0.5984 GB, free: 3.043 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5639, allocations: 0 / 0.5984 GB, free: 3.043 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002596/0.5665, allocations: 0.5077 MB / 0.5988 GB, free: 2.535 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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.002796/0.5693, allocations: 2.316 MB / 0.6011 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003606/0.5729, allocations: 2.2 MB / 0.6033 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.5729, allocations: 0 / 0.6033 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.5738, allocations: 0.5966 MB / 0.6038 GB, free: 13.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/0.5779, allocations: 260.2 kB / 0.6041 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04164/0.6196, allocations: 23.83 MB / 0.6274 GB, free: 2.625 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002713/0.6223, allocations: 2.075 MB / 0.6294 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00218/0.6245, allocations: 0.7305 MB / 0.6301 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001503/0.626, allocations: 0.9679 MB / 0.631 GB, free: 14.81 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6261, allocations: 0 / 0.631 GB, free: 14.81 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07411/0.7002, allocations: 37.16 MB / 0.6673 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.7005, allocations: 192.2 kB / 0.6675 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.153, allocations: 0 / 0.6675 GB, free: 9.676 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches