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.001556/0.001556, allocations: 109.5 kB / 17.78 MB, free: 5.312 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.001878/0.001878, allocations: 188 kB / 18.71 MB, free: 4.387 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.423/1.423, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2183/0.2183, allocations: 44.19 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 71.89 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3528, allocations: 60.83 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01139/0.3642, allocations: 9.597 MB / 0.5278 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009246/0.3735, allocations: 3.184 MB / 0.5309 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002831/0.3764, allocations: 50.53 kB / 0.531 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006962/0.3834, allocations: 2.627 MB / 0.5335 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002834/0.3863, allocations: 0.6056 MB / 0.5341 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002205/0.3886, allocations: 0.5217 MB / 0.5346 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003262/0.3919, allocations: 1.472 MB / 0.5361 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006117/0.398, allocations: 3.241 MB / 0.5392 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.4006, allocations: 0.9606 MB / 0.5402 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.4035, allocations: 1.269 MB / 0.5414 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.405, allocations: 274.8 kB / 0.5417 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.408, allocations: 0.7943 MB / 0.5424 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002172/0.4102, allocations: 1.169 MB / 0.5436 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002854/0.4131, allocations: 1.348 MB / 0.5449 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006254/0.4194, allocations: 4.443 MB / 0.5492 GB, free: 12.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4195, allocations: 3.984 kB / 0.5492 GB, free: 12.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4195, allocations: 4 kB / 0.5492 GB, free: 12.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001506/0.4196, allocations: 7.938 kB / 0.5493 GB, free: 12.45 MB / 414.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.007072/0.4267, allocations: 2.781 MB / 0.552 GB, free: 9.609 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.4268, allocations: 8.031 kB / 0.552 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009944/0.4278, allocations: 418.9 kB / 0.5524 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.4293, allocations: 353.1 kB / 0.5527 GB, free: 8.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002919/0.4322, allocations: 1.247 MB / 0.5539 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.4324, allocations: 168.4 kB / 0.5541 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006396/0.4331, allocations: 215.9 kB / 0.5543 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01193/0.445, allocations: 5.608 MB / 0.5598 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/0.4451, allocations: 11.88 kB / 0.5598 GB, free: 1.254 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.4455, allocations: 99.94 kB / 0.5599 GB, free: 1.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/0.4466, allocations: 0.7772 MB / 0.5606 GB, free: 384 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.4576, allocations: 4.279 MB / 0.5648 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/0.4834, allocations: 17.05 MB / 0.5815 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.4878, allocations: 1.234 MB / 0.5827 GB, free: 9.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.4886, allocations: 394.3 kB / 0.5831 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001932/0.4906, allocations: 2.058 MB / 0.5851 GB, free: 6.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.4906, allocations: 51 kB / 0.5851 GB, free: 6.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=65): time 3.637e-06/0.4906, allocations: 0 / 0.5851 GB, free: 6.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.02253/0.5132, allocations: 5.447 MB / 0.5904 GB, free: 1.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.5133, allocations: 60.41 kB / 0.5905 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.516, allocations: 1.729 MB / 0.5922 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001383/0.5162, allocations: 41.7 kB / 0.5922 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.5173, allocations: 1.505 MB / 0.5937 GB, free: 13.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/0.5177, allocations: 410.5 kB / 0.5941 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007861/0.5185, allocations: 0.5204 MB / 0.5946 GB, free: 12.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.5186, allocations: 305.1 kB / 0.5949 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.5199, allocations: 0.7742 MB / 0.5956 GB, free: 11.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.5221, allocations: 2.215 MB / 0.5978 GB, free: 8.723 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/0.5262, allocations: 3.275 MB / 0.601 GB, free: 4.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.856e-05/0.5263, allocations: 16 kB / 0.601 GB, free: 4.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005463/0.5317, allocations: 2.996 MB / 0.6039 GB, free: 1.719 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.037e-05/0.5318, allocations: 28 kB / 0.604 GB, free: 1.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.493e-05/0.5319, allocations: 55.94 kB / 0.604 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.544e-05/0.532, allocations: 68 kB / 0.6041 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002101/0.5341, allocations: 0.6043 MB / 0.6047 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001078/0.5343, allocations: 96.22 kB / 0.6048 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.5361, allocations: 115.9 kB / 0.6049 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/0.5365, allocations: 152 kB / 0.605 GB, free: 0.6094 MB / 462.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.002077/0.5386, allocations: 1.121 MB / 0.6061 GB, free: 15.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.539, allocations: 173.8 kB / 0.6063 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/0.5415, allocations: 1.249 MB / 0.6075 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/0.5416, allocations: 12 kB / 0.6075 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.5416, allocations: 0 / 0.6075 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.5416, allocations: 7.922 kB / 0.6075 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.5527, allocations: 6.223 MB / 0.6136 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-05/0.5528, allocations: 20 kB / 0.6136 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006898/0.5535, allocations: 211.6 kB / 0.6138 GB, free: 7.188 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.898e-05/0.5535, allocations: 24 kB / 0.6138 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-05/0.5536, allocations: 48 kB / 0.6139 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.912e-05/0.5536, allocations: 39.8 kB / 0.6139 GB, free: 7.078 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.73e-05/0.5537, allocations: 31.88 kB / 0.614 GB, free: 7.047 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.5558, allocations: 1.676 MB / 0.6156 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006173/0.5565, allocations: 255 kB / 0.6158 GB, free: 4.809 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.5568, allocations: 47.92 kB / 0.6159 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007987/0.5576, allocations: 39.98 kB / 0.6159 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5578, allocations: 139.4 kB / 0.6161 GB, free: 4.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.5579, allocations: 52 kB / 0.6161 GB, free: 4.535 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001821/0.5597, allocations: 1.143 MB / 0.6172 GB, free: 3.398 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5597, allocations: 0 / 0.6172 GB, free: 3.398 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002296/0.562, allocations: 476.6 kB / 0.6177 GB, free: 2.934 MB / 478.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.002633/0.5646, allocations: 2.316 MB / 0.6199 GB, free: 324 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003117/0.5678, allocations: 1.819 MB / 0.6217 GB, free: 14.51 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/0.5678, allocations: 4 kB / 0.6217 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007546/0.5686, allocations: 493.4 kB / 0.6222 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.5704, allocations: 284.5 kB / 0.6225 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/0.6019, allocations: 19.69 MB / 0.6417 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/0.6048, allocations: 2.089 MB / 0.6437 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001807/0.6066, allocations: 0.6712 MB / 0.6444 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/0.6081, allocations: 0.9523 MB / 0.6453 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.6082, allocations: 0 / 0.6453 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07181/0.68, allocations: 35.52 MB / 0.68 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.05, allocations: 6.484 kB / 0.68 GB, free: 0.5508 MB / 0.5294 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