Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001521/0.001521, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 75.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.363, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01169/0.3747, allocations: 9.574 MB / 0.5399 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007339/0.3821, allocations: 3.433 MB / 0.5432 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.3839, allocations: 47.16 kB / 0.5433 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004992/0.3889, allocations: 2.602 MB / 0.5458 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.3912, allocations: 0.6204 MB / 0.5464 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.3934, allocations: 0.7204 MB / 0.5471 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002727/0.3962, allocations: 1.566 MB / 0.5486 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004438/0.4006, allocations: 3.286 MB / 0.5519 GB, free: 11.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.4025, allocations: 0.9934 MB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002127/0.4046, allocations: 1.305 MB / 0.5541 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007471/0.4054, allocations: 280 kB / 0.5544 GB, free: 9.293 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.4077, allocations: 1.01 MB / 0.5554 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.4091, allocations: 1.173 MB / 0.5565 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002369/0.4115, allocations: 1.364 MB / 0.5578 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006128/0.4176, allocations: 4.679 MB / 0.5624 GB, free: 1.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4177, allocations: 0 / 0.5624 GB, free: 1.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4177, allocations: 0 / 0.5624 GB, free: 1.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001539/0.4178, allocations: 0 / 0.5624 GB, free: 1.039 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.008208/0.4261, allocations: 2.995 MB / 0.5653 GB, free: 13.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.4261, allocations: 8.031 kB / 0.5653 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/0.4273, allocations: 423.1 kB / 0.5657 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.4289, allocations: 374.8 kB / 0.5661 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003156/0.4321, allocations: 1.313 MB / 0.5674 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.4323, allocations: 168.2 kB / 0.5675 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006753/0.433, allocations: 215.9 kB / 0.5677 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/0.4484, allocations: 6.488 MB / 0.5741 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.684e-05/0.4485, allocations: 15.94 kB / 0.5741 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004988/0.4491, allocations: 91.95 kB / 0.5742 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001211/0.4503, allocations: 0.8123 MB / 0.575 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01373/0.464, allocations: 5.473 MB / 0.5803 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02924/0.4933, allocations: 19.01 MB / 0.5989 GB, free: 10.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/0.5013, allocations: 1.82 MB / 0.6007 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.5026, allocations: 0.69 MB / 0.6013 GB, free: 8.223 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00903/0.5117, allocations: 4.797 MB / 0.606 GB, free: 3.008 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.5118, allocations: 43.06 kB / 0.6061 GB, free: 2.953 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 3.567e-06/0.5118, allocations: 0 / 0.6061 GB, free: 2.953 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04211/0.5539, allocations: 8.77 MB / 0.6146 GB, free: 10.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.554, allocations: 68.34 kB / 0.6147 GB, free: 10.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002995/0.5571, allocations: 1.834 MB / 0.6165 GB, free: 8.262 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001672/0.5572, allocations: 45.69 kB / 0.6165 GB, free: 8.211 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.5585, allocations: 1.578 MB / 0.6181 GB, free: 6.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.559, allocations: 432.6 kB / 0.6185 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009364/0.5599, allocations: 0.5523 MB / 0.619 GB, free: 5.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.56, allocations: 301.1 kB / 0.6193 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5618, allocations: 1.024 MB / 0.6203 GB, free: 4.309 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002817/0.5647, allocations: 2.525 MB / 0.6228 GB, free: 1.043 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004898/0.5696, allocations: 3.815 MB / 0.6265 GB, free: 12.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-05/0.5696, allocations: 16 kB / 0.6265 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.00655/0.5762, allocations: 3.552 MB / 0.63 GB, free: 8.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.467e-05/0.5763, allocations: 28.22 kB / 0.63 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-05/0.5764, allocations: 60 kB / 0.6301 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.23e-05/0.5765, allocations: 68 kB / 0.6301 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.5791, allocations: 0.6667 MB / 0.6308 GB, free: 8.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001126/0.5792, allocations: 103.6 kB / 0.6309 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/0.5813, allocations: 155.9 kB / 0.631 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/0.5817, allocations: 160 kB / 0.6312 GB, free: 7.684 MB / 494.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.002098/0.5838, allocations: 1.133 MB / 0.6323 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/0.5842, allocations: 174.8 kB / 0.6325 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.5877, allocations: 1.757 MB / 0.6342 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/0.5877, allocations: 23.92 kB / 0.6342 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5878, allocations: 0 / 0.6342 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.5878, allocations: 3.984 kB / 0.6342 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.5994, allocations: 5.424 MB / 0.6395 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/0.5994, allocations: 8 kB / 0.6395 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.6004, allocations: 211.8 kB / 0.6397 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.847e-05/0.6005, allocations: 16 kB / 0.6397 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6006, allocations: 35.94 kB / 0.6398 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-05/0.6006, allocations: 27.86 kB / 0.6398 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/0.6006, allocations: 15.94 kB / 0.6398 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.6032, allocations: 1.699 MB / 0.6415 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/0.6039, allocations: 259.8 kB / 0.6417 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/0.6043, allocations: 43.92 kB / 0.6417 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.6053, allocations: 39.97 kB / 0.6418 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/0.6055, allocations: 104.2 kB / 0.6419 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6056, allocations: 47.98 kB / 0.6419 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002333/0.6079, allocations: 1.199 MB / 0.6431 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.608, allocations: 0 / 0.6431 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002792/0.6108, allocations: 0.496 MB / 0.6436 GB, free: 10.54 MB / 0.4981 GB 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.003478/0.6143, allocations: 2.319 MB / 0.6459 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004143/0.6184, allocations: 2.234 MB / 0.648 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.6185, allocations: 4 kB / 0.648 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6196, allocations: 0.603 MB / 0.6486 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.6216, allocations: 259 kB / 0.6489 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03472/0.6563, allocations: 21.15 MB / 0.6695 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/0.6591, allocations: 2.071 MB / 0.6716 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002031/0.6612, allocations: 0.7305 MB / 0.6723 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/0.6628, allocations: 0.964 MB / 0.6732 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of SimCode: time 1.323e-06/0.6628, allocations: 0 / 0.6732 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07659/0.7394, allocations: 39.03 MB / 0.7113 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.6, allocations: 4 kB / 0.7113 GB, free: 2.859 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.csv","/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_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches