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.001495/0.001495, allocations: 107 kB / 17.33 MB, free: 6.023 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.001926/0.001926, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.404/1.404, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.219/0.219, allocations: 44.18 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.03 kB / 408 MB, free: 27.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 60.82 MB / 468.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03574/0.1661, allocations: 34.07 MB / 0.4911 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01749/0.1836, allocations: 7.199 MB / 0.4981 GB, free: 5.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006426/0.1901, allocations: 143.7 kB / 0.4983 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005358/0.1955, allocations: 2.544 MB / 0.5007 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.1977, allocations: 0.5522 MB / 0.5013 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.1994, allocations: 495.2 kB / 0.5018 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.2019, allocations: 1.492 MB / 0.5032 GB, free: 4 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2926/0.4945, allocations: 3.383 MB / 0.5065 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.4962, allocations: 0.9756 MB / 0.5075 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.4984, allocations: 1.369 MB / 0.5088 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.499, allocations: 270.8 kB / 0.5091 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.5007, allocations: 0.8088 MB / 0.5099 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.5019, allocations: 1.171 MB / 0.511 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.5032, allocations: 1.36 MB / 0.5123 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005518/0.5087, allocations: 4.365 MB / 0.5166 GB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5088, allocations: 1.125 kB / 0.5166 GB, free: 9.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5088, allocations: 4 kB / 0.5166 GB, free: 9.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001117/0.5089, allocations: 0 / 0.5166 GB, free: 9.418 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.00611/0.515, allocations: 2.785 MB / 0.5193 GB, free: 8.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.5151, allocations: 9.375 kB / 0.5193 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005359/0.5156, allocations: 418.3 kB / 0.5197 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5168, allocations: 354.7 kB / 0.5201 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.5187, allocations: 1.231 MB / 0.5213 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5188, allocations: 165.9 kB / 0.5214 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.5192, allocations: 219.4 kB / 0.5216 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008953/0.5281, allocations: 5.611 MB / 0.5271 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.5282, allocations: 21.03 kB / 0.5271 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.5284, allocations: 97.33 kB / 0.5272 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009046/0.5293, allocations: 0.7774 MB / 0.528 GB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007702/0.537, allocations: 4.283 MB / 0.5322 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.5575, allocations: 17.12 MB / 0.5489 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004361/0.5619, allocations: 1.248 MB / 0.5501 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.5627, allocations: 394.3 kB / 0.5505 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.5646, allocations: 2.055 MB / 0.5525 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.5647, allocations: 41.94 kB / 0.5525 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 3.447e-06/0.5647, allocations: 0 / 0.5525 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of matching and sorting (n=109): time 0.0226/0.5873, allocations: 5.449 MB / 0.5579 GB, free: 11.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.5874, allocations: 68.41 kB / 0.5579 GB, free: 11.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.5906, allocations: 1.725 MB / 0.5596 GB, free: 9.277 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.5907, allocations: 41.7 kB / 0.5596 GB, free: 9.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.5918, allocations: 1.502 MB / 0.5611 GB, free: 7.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.5922, allocations: 404.8 kB / 0.5615 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008317/0.5931, allocations: 0.5282 MB / 0.562 GB, free: 6.797 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.5932, allocations: 301.1 kB / 0.5623 GB, free: 6.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.5946, allocations: 0.7782 MB / 0.5631 GB, free: 5.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.597, allocations: 2.208 MB / 0.5652 GB, free: 2.824 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004045/0.601, allocations: 3.277 MB / 0.5684 GB, free: 15.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-05/0.6011, allocations: 12 kB / 0.5684 GB, free: 15.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005782/0.6069, allocations: 2.998 MB / 0.5714 GB, free: 12.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.607, allocations: 26.69 kB / 0.5714 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.253e-05/0.6071, allocations: 59.98 kB / 0.5714 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.6072, allocations: 68 kB / 0.5715 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.609, allocations: 0.599 MB / 0.5721 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/0.6092, allocations: 106.3 kB / 0.5722 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.6109, allocations: 115.8 kB / 0.5723 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.6112, allocations: 148 kB / 0.5724 GB, free: 11.3 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.002225/0.6134, allocations: 1.132 MB / 0.5735 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003812/0.6138, allocations: 161.9 kB / 0.5737 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.6162, allocations: 1.248 MB / 0.5749 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.6162, allocations: 16 kB / 0.5749 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.6162, allocations: 0 / 0.5749 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.6163, allocations: 3.984 kB / 0.5749 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01185/0.6281, allocations: 6.224 MB / 0.581 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-05/0.6282, allocations: 24.25 kB / 0.581 GB, free: 2.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007513/0.629, allocations: 199.1 kB / 0.5812 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.404e-05/0.629, allocations: 31.98 kB / 0.5813 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.597e-05/0.6291, allocations: 44 kB / 0.5813 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.59e-05/0.6292, allocations: 39.95 kB / 0.5813 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.18e-05/0.6292, allocations: 32.09 kB / 0.5814 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/0.6318, allocations: 1.665 MB / 0.583 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.6328, allocations: 266.9 kB / 0.5832 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006343/0.6335, allocations: 43.98 kB / 0.5833 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.6349, allocations: 51.02 kB / 0.5833 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/0.6351, allocations: 132.2 kB / 0.5835 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.6353, allocations: 56 kB / 0.5835 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002684/0.638, allocations: 1.143 MB / 0.5846 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.638, allocations: 0 / 0.5846 GB, free: 14.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003124/0.6411, allocations: 468.6 kB / 0.5851 GB, free: 13.93 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.002916/0.644, allocations: 2.307 MB / 0.5873 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.6476, allocations: 1.847 MB / 0.5891 GB, free: 9.703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-05/0.6476, allocations: 4.5 kB / 0.5891 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.6484, allocations: 494.9 kB / 0.5896 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.6506, allocations: 276.2 kB / 0.5899 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/0.6934, allocations: 22.28 MB / 0.6116 GB, free: 15.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004024/0.6975, allocations: 2.085 MB / 0.6137 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002329/0.6998, allocations: 0.6634 MB / 0.6143 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.7015, allocations: 0.9601 MB / 0.6153 GB, free: 12.12 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/0.7015, allocations: 0 / 0.6153 GB, free: 12.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.7637, allocations: 34.38 MB / 0.6488 GB, free: 10 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.7639, allocations: 185.2 kB / 0.649 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.759/3.523, allocations: 0 / 0.649 GB, free: 9.754 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