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.001125/0.001126, allocations: 105.7 kB / 17.32 MB, free: 5.984 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.001021/0.001021, allocations: 193.3 kB / 18.25 MB, free: 5.07 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.344/1.344, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2412/0.2412, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 64.62 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1318, allocations: 60.81 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.0344/0.1662, allocations: 34.07 MB / 0.4911 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01877/0.1851, allocations: 7.388 MB / 0.4983 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007512/0.1926, allocations: 139.7 kB / 0.4984 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.1979, allocations: 2.529 MB / 0.5009 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.2003, allocations: 0.5367 MB / 0.5014 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.2025, allocations: 0.6708 MB / 0.5021 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2834/0.4859, allocations: 1.568 MB / 0.5036 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004575/0.4906, allocations: 3.451 MB / 0.507 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.4924, allocations: 1.013 MB / 0.508 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.4949, allocations: 1.41 MB / 0.5094 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006262/0.4955, allocations: 278 kB / 0.5096 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.4976, allocations: 1.006 MB / 0.5106 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001325/0.4989, allocations: 1.184 MB / 0.5118 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.5006, allocations: 1.377 MB / 0.5131 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006715/0.5073, allocations: 4.586 MB / 0.5176 GB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5073, allocations: 0 / 0.5176 GB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5073, allocations: 0 / 0.5176 GB, free: 9.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001296/0.5075, allocations: 0.9375 kB / 0.5176 GB, free: 9.422 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.009245/0.5167, allocations: 2.917 MB / 0.5204 GB, free: 8.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.5168, allocations: 15.69 kB / 0.5205 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008398/0.5176, allocations: 428.2 kB / 0.5209 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.5192, allocations: 358.1 kB / 0.5212 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.5218, allocations: 1.289 MB / 0.5225 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5219, allocations: 171.1 kB / 0.5226 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004203/0.5223, allocations: 216.1 kB / 0.5228 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/0.5368, allocations: 6.472 MB / 0.5291 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.005e-05/0.5369, allocations: 12.66 kB / 0.5292 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.5371, allocations: 96.78 kB / 0.5293 GB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001096/0.5382, allocations: 0.8088 MB / 0.53 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.5519, allocations: 5.47 MB / 0.5354 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03065/0.5826, allocations: 19.07 MB / 0.554 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007388/0.59, allocations: 1.815 MB / 0.5558 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5913, allocations: 0.69 MB / 0.5565 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007596/0.5989, allocations: 4.703 MB / 0.5611 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.599, allocations: 47.11 kB / 0.5611 GB, free: 7.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 4.799e-06/0.599, allocations: 3.984 kB / 0.5611 GB, free: 7.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.04381/0.6428, allocations: 8.827 MB / 0.5697 GB, free: 14.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.6429, allocations: 68.41 kB / 0.5698 GB, free: 14.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/0.6468, allocations: 1.835 MB / 0.5716 GB, free: 13 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.647, allocations: 45.7 kB / 0.5716 GB, free: 12.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.6483, allocations: 1.53 MB / 0.5731 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004951/0.6488, allocations: 406.5 kB / 0.5735 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/0.6498, allocations: 0.548 MB / 0.574 GB, free: 10.46 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.65, allocations: 306.8 kB / 0.5743 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.6518, allocations: 1.02 MB / 0.5753 GB, free: 9.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.6547, allocations: 2.521 MB / 0.5778 GB, free: 5.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005517/0.6602, allocations: 3.817 MB / 0.5815 GB, free: 1.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.813e-05/0.6603, allocations: 15.94 kB / 0.5815 GB, free: 1.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.007307/0.6676, allocations: 3.534 MB / 0.585 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.6677, allocations: 30.5 kB / 0.585 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-05/0.6678, allocations: 52 kB / 0.5851 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.943e-05/0.6679, allocations: 76 kB / 0.5851 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.6704, allocations: 0.6613 MB / 0.5858 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001006/0.6705, allocations: 106 kB / 0.5859 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.6727, allocations: 151.9 kB / 0.586 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/0.6731, allocations: 164 kB / 0.5862 GB, free: 13.17 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.002283/0.6753, allocations: 1.128 MB / 0.5873 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.6757, allocations: 173.8 kB / 0.5874 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003192/0.6789, allocations: 1.752 MB / 0.5892 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.679, allocations: 8 kB / 0.5892 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.679, allocations: 4 kB / 0.5892 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.679, allocations: 11.91 kB / 0.5892 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6905, allocations: 5.588 MB / 0.5946 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.6906, allocations: 12 kB / 0.5947 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00093/0.6915, allocations: 201.2 kB / 0.5948 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-05/0.6916, allocations: 20 kB / 0.5949 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.6917, allocations: 38.61 kB / 0.5949 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-05/0.6917, allocations: 18.72 kB / 0.5949 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/0.6917, allocations: 21.75 kB / 0.5949 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.6941, allocations: 1.682 MB / 0.5966 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.6947, allocations: 250.8 kB / 0.5968 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.6951, allocations: 35.98 kB / 0.5969 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000877/0.696, allocations: 43.98 kB / 0.5969 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.6962, allocations: 103.6 kB / 0.597 GB, free: 1.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.6963, allocations: 44 kB / 0.597 GB, free: 1.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.6984, allocations: 1.199 MB / 0.5982 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6984, allocations: 3.938 kB / 0.5982 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002653/0.7011, allocations: 0.5039 MB / 0.5987 GB, free: 88 kB / 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.002982/0.7041, allocations: 2.316 MB / 0.601 GB, free: 13.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.7085, allocations: 2.451 MB / 0.6034 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/0.7086, allocations: 0 / 0.6034 GB, free: 11.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.7096, allocations: 0.6057 MB / 0.6039 GB, free: 10.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.7116, allocations: 271 kB / 0.6042 GB, free: 10.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04405/0.7556, allocations: 23.79 MB / 0.6274 GB, free: 15.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/0.7584, allocations: 2.071 MB / 0.6295 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002175/0.7606, allocations: 0.7227 MB / 0.6302 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/0.7622, allocations: 0.9796 MB / 0.6311 GB, free: 12.16 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.7622, allocations: 4 kB / 0.6311 GB, free: 12.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08364/0.8459, allocations: 38.41 MB / 0.6686 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.8461, allocations: 196.3 kB / 0.6688 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.74, allocations: 0 / 0.6688 GB, free: 5.777 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