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.001188/0.001188, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001163/0.001163, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.341/1.341, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.1989/0.1989, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 72.53 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01162/0.1225, allocations: 9.599 MB / 479 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.1291, allocations: 3.179 MB / 482.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.1306, allocations: 55.88 kB / 482.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004958/0.1355, allocations: 2.625 MB / 484.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.1372, allocations: 0.6138 MB / 485.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.1385, allocations: 0.5184 MB / 486 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.1403, allocations: 1.481 MB / 487.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003534/0.1438, allocations: 3.236 MB / 490.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.1452, allocations: 0.9582 MB / 491.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.1469, allocations: 1.277 MB / 492.9 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005975/0.1475, allocations: 268 kB / 493.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.149, allocations: 0.8037 MB / 494 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1501, allocations: 1.154 MB / 495.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.1518, allocations: 1.348 MB / 496.5 MB, free: 3.043 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003845/0.1556, allocations: 4.342 MB / 0.4891 GB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1557, allocations: 0 / 0.4891 GB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1557, allocations: 4 kB / 0.4891 GB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001275/0.1558, allocations: 0 / 0.4891 GB, free: 14.68 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.005894/0.1617, allocations: 2.777 MB / 0.4918 GB, free: 11.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1618, allocations: 8.031 kB / 0.4918 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005237/0.1623, allocations: 418.9 kB / 0.4922 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.1634, allocations: 353.1 kB / 0.4925 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.1653, allocations: 1.239 MB / 0.4937 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.1655, allocations: 172.4 kB / 0.4939 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003527/0.1658, allocations: 211.9 kB / 0.4941 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.1763, allocations: 5.604 MB / 0.4996 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.1764, allocations: 7.938 kB / 0.4996 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/0.1767, allocations: 99.95 kB / 0.4997 GB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.1777, allocations: 0.7733 MB / 0.5004 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2195/0.3973, allocations: 4.291 MB / 0.5046 GB, free: 46.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/0.4176, allocations: 17.14 MB / 0.5214 GB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.4217, allocations: 1.242 MB / 0.5226 GB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.4224, allocations: 394.2 kB / 0.523 GB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.4237, allocations: 2.057 MB / 0.525 GB, free: 33.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.4238, allocations: 38.91 kB / 0.525 GB, free: 33.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.985e-06/0.4238, allocations: 0 / 0.525 GB, free: 33.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=109): time 0.02056/0.4444, allocations: 5.446 MB / 0.5303 GB, free: 30.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4444, allocations: 64.19 kB / 0.5304 GB, free: 30.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.4463, allocations: 1.728 MB / 0.5321 GB, free: 29.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.4464, allocations: 45.52 kB / 0.5321 GB, free: 29.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.447, allocations: 1.505 MB / 0.5336 GB, free: 28.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.4472, allocations: 409.3 kB / 0.534 GB, free: 27.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005147/0.4477, allocations: 0.5191 MB / 0.5345 GB, free: 27.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.4478, allocations: 308.9 kB / 0.5348 GB, free: 27.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009906/0.4488, allocations: 0.7699 MB / 0.5355 GB, free: 26.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.4502, allocations: 2.223 MB / 0.5377 GB, free: 24.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.4527, allocations: 3.267 MB / 0.5409 GB, free: 20.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/0.4527, allocations: 16 kB / 0.5409 GB, free: 20.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0035/0.4562, allocations: 3 MB / 0.5438 GB, free: 17.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.4563, allocations: 24 kB / 0.5439 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.372e-05/0.4563, allocations: 52 kB / 0.5439 GB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.185e-05/0.4564, allocations: 68 kB / 0.544 GB, free: 17.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.458, allocations: 0.6004 MB / 0.5446 GB, free: 16.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.621e-05/0.4581, allocations: 103.6 kB / 0.5447 GB, free: 16.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4595, allocations: 116.1 kB / 0.5448 GB, free: 16.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.4596, allocations: 150.4 kB / 0.5449 GB, free: 16.12 MB / 382.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.001225/0.4609, allocations: 1.125 MB / 0.546 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.461, allocations: 157.9 kB / 0.5462 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.4627, allocations: 1.245 MB / 0.5474 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.4628, allocations: 12 kB / 0.5474 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4628, allocations: 11.5 kB / 0.5474 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4628, allocations: 7.969 kB / 0.5474 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.4695, allocations: 6.223 MB / 0.5535 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.4695, allocations: 20 kB / 0.5535 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.4701, allocations: 207.5 kB / 0.5537 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-05/0.4701, allocations: 28 kB / 0.5537 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.4702, allocations: 47.94 kB / 0.5538 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/0.4702, allocations: 39.86 kB / 0.5538 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.4702, allocations: 31.86 kB / 0.5538 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.4715, allocations: 1.676 MB / 0.5555 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.4718, allocations: 266.9 kB / 0.5557 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.472, allocations: 43.98 kB / 0.5558 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.4726, allocations: 40 kB / 0.5558 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4727, allocations: 135.3 kB / 0.5559 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.4728, allocations: 56 kB / 0.556 GB, free: 4.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001125/0.4739, allocations: 1.135 MB / 0.5571 GB, free: 2.941 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4739, allocations: 0 / 0.5571 GB, free: 2.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001954/0.4759, allocations: 475.4 kB / 0.5576 GB, free: 2.48 MB / 382.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.00178/0.4777, allocations: 2.313 MB / 0.5598 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.4807, allocations: 1.843 MB / 0.5616 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.4807, allocations: 4 kB / 0.5616 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006679/0.4814, allocations: 496.9 kB / 0.5621 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.483, allocations: 287 kB / 0.5624 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/0.5148, allocations: 21.2 MB / 0.5831 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003067/0.5179, allocations: 2.085 MB / 0.5851 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002095/0.52, allocations: 0.6712 MB / 0.5858 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/0.5215, allocations: 0.9523 MB / 0.5867 GB, free: 1.312 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5215, allocations: 0 / 0.5867 GB, free: 1.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07124/0.5927, allocations: 34.5 MB / 0.6204 GB, free: 15 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.011/9.604, allocations: 7.922 kB / 0.6204 GB, free: 14.99 MB / 462.1 MB (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