Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_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.007178/0.007178, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001691/0.001691, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2892/0.2892, allocations: 43.49 MB / 313.5 MB, free: 8.559 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 67.91 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1066, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.2261/0.3326, allocations: 34.75 MB / 474.7 MB, free: 30 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01464/0.3473, allocations: 7.303 MB / 482 MB, free: 25.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00711/0.3545, allocations: 138.9 kB / 482.1 MB, free: 25.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.3589, allocations: 2.672 MB / 484.8 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.3611, allocations: 0.6312 MB / 485.4 MB, free: 24.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3623, allocations: 482.4 kB / 485.9 MB, free: 23.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.3648, allocations: 2.681 MB / 488.6 MB, free: 23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.3677, allocations: 3.248 MB / 491.8 MB, free: 21.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3689, allocations: 0.8955 MB / 492.7 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.3705, allocations: 1.374 MB / 494.1 MB, free: 20.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003903/0.3709, allocations: 198.8 kB / 494.3 MB, free: 20.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.3723, allocations: 0.7825 MB / 495.1 MB, free: 20.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.3734, allocations: 1.156 MB / 496.2 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.3745, allocations: 1.364 MB / 497.6 MB, free: 19.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005513/0.3801, allocations: 4.498 MB / 0.4903 GB, free: 17.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.3801, allocations: 1.094 kB / 0.4903 GB, free: 17.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3801, allocations: 0 / 0.4903 GB, free: 17.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001637/0.3803, allocations: 0 / 0.4903 GB, free: 17.72 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.007989/0.3883, allocations: 2.946 MB / 0.4932 GB, free: 15.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3883, allocations: 13.88 kB / 0.4932 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007687/0.3891, allocations: 461.6 kB / 0.4936 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.3905, allocations: 357.8 kB / 0.494 GB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.3926, allocations: 1.252 MB / 0.4952 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.3928, allocations: 174.6 kB / 0.4954 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004351/0.3932, allocations: 243.4 kB / 0.4956 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.4058, allocations: 6.024 MB / 0.5015 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.394e-05/0.4059, allocations: 12.62 kB / 0.5015 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002776/0.4062, allocations: 102.2 kB / 0.5016 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001738/0.408, allocations: 0.9579 MB / 0.5025 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/0.4184, allocations: 4.498 MB / 0.5069 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02478/0.4432, allocations: 18.53 MB / 0.525 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003993/0.4472, allocations: 1.269 MB / 0.5263 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.4478, allocations: 391.3 kB / 0.5266 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.4494, allocations: 2.056 MB / 0.5286 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4495, allocations: 55 kB / 0.5287 GB, free: 5.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.946e-06/0.4495, allocations: 0 / 0.5287 GB, free: 5.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02092/0.4704, allocations: 5.882 MB / 0.5344 GB, free: 15.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4705, allocations: 86.11 kB / 0.5345 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.473, allocations: 1.832 MB / 0.5363 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.4731, allocations: 41.7 kB / 0.5363 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.4742, allocations: 1.656 MB / 0.538 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003303/0.4745, allocations: 410.6 kB / 0.5384 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007102/0.4753, allocations: 0.5482 MB / 0.5389 GB, free: 10.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.4754, allocations: 305.1 kB / 0.5392 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.4767, allocations: 0.8019 MB / 0.54 GB, free: 9.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.4789, allocations: 2.366 MB / 0.5423 GB, free: 6.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/0.4826, allocations: 3.463 MB / 0.5457 GB, free: 2.223 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/0.4826, allocations: 16 kB / 0.5457 GB, free: 2.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004467/0.4871, allocations: 3.164 MB / 0.5488 GB, free: 15.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/0.4872, allocations: 28 kB / 0.5488 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.429e-05/0.4872, allocations: 59.94 kB / 0.5488 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.682e-05/0.4873, allocations: 76 kB / 0.5489 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.4891, allocations: 0.6434 MB / 0.5495 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.9e-05/0.4892, allocations: 107.6 kB / 0.5496 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.4908, allocations: 128.2 kB / 0.5498 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/0.491, allocations: 160 kB / 0.5499 GB, free: 13.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (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 (361): * Single equations (assignments): 361 * 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.001861/0.4929, allocations: 1.195 MB / 0.5511 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.4931, allocations: 177.7 kB / 0.5513 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.4952, allocations: 1.27 MB / 0.5525 GB, free: 11.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.4952, allocations: 15.98 kB / 0.5525 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.4952, allocations: 0 / 0.5525 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.4953, allocations: 3.984 kB / 0.5525 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009566/0.5048, allocations: 6.459 MB / 0.5588 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.5049, allocations: 20 kB / 0.5588 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/0.5055, allocations: 203.6 kB / 0.559 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/0.5055, allocations: 28.69 kB / 0.5591 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.5056, allocations: 44 kB / 0.5591 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.628e-05/0.5056, allocations: 47.8 kB / 0.5592 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-05/0.5057, allocations: 31.88 kB / 0.5592 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.5075, allocations: 1.676 MB / 0.5608 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.508, allocations: 266.8 kB / 0.5611 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/0.5082, allocations: 55.91 kB / 0.5611 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.5088, allocations: 36 kB / 0.5612 GB, free: 1.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.509, allocations: 127.4 kB / 0.5613 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/0.509, allocations: 59.94 kB / 0.5613 GB, free: 1.414 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001695/0.5107, allocations: 1.232 MB / 0.5625 GB, free: 196 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5108, allocations: 0 / 0.5625 GB, free: 196 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002417/0.5132, allocations: 0.4961 MB / 0.563 GB, free: 15.7 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.00217/0.5154, allocations: 2.323 MB / 0.5653 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003399/0.5188, allocations: 1.836 MB / 0.5671 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/0.5188, allocations: 0 / 0.5671 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.5194, allocations: 498.9 kB / 0.5676 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.521, allocations: 271 kB / 0.5678 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03297/0.554, allocations: 23.73 MB / 0.591 GB, free: 15.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002184/0.5562, allocations: 2.194 MB / 0.5931 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001834/0.5581, allocations: 0.7112 MB / 0.5938 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/0.5592, allocations: 1.046 MB / 0.5949 GB, free: 11.48 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5592, allocations: 3.938 kB / 0.5949 GB, free: 11.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.269/2.828, allocations: 35.16 MB / 0.6292 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/2.828, allocations: 188.4 kB / 0.6294 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/5.646, allocations: 4.062 kB / 0.6294 GB, free: 8.086 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches