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.001629/0.001629, allocations: 99.8 kB / 16.27 MB, free: 5.93 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.001943/0.001943, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.385/1.385, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.00166/0.00166, allocations: 70.97 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.0975, allocations: 57.79 MB / 440.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01041/0.108, allocations: 10.28 MB / 450.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008112/0.1161, allocations: 3.253 MB / 454.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.1183, allocations: 47.94 kB / 454.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005333/0.1238, allocations: 2.664 MB / 456.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.1259, allocations: 0.6645 MB / 457.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1273, allocations: 0.5262 MB / 458.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.1296, allocations: 1.609 MB / 459.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003774/0.1333, allocations: 3.295 MB / 463 MB, free: 324 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.1349, allocations: 1.009 MB / 464 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.1368, allocations: 1.32 MB / 465.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008183/0.1377, allocations: 276 kB / 465.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.1393, allocations: 0.792 MB / 466.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.1407, allocations: 1.224 MB / 467.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001968/0.1426, allocations: 1.442 MB / 469 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004604/0.1473, allocations: 4.545 MB / 473.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1473, allocations: 0 / 473.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1473, allocations: 4 kB / 473.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001426/0.1475, allocations: 7.938 kB / 473.6 MB, free: 5.672 MB / 350.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.006498/0.154, allocations: 2.946 MB / 476.5 MB, free: 2.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.154, allocations: 11.89 kB / 476.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006824/0.1547, allocations: 461.1 kB / 477 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/0.1559, allocations: 356.9 kB / 477.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.158, allocations: 1.255 MB / 478.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.1582, allocations: 180.7 kB / 478.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.1586, allocations: 239.9 kB / 479 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.1694, allocations: 6.017 MB / 485 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.731e-05/0.1695, allocations: 15.78 kB / 485 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.1697, allocations: 103.9 kB / 485.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/0.1712, allocations: 0.9613 MB / 486.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.1815, allocations: 4.489 MB / 490.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.2049, allocations: 18.54 MB / 0.4972 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004159/0.2091, allocations: 1.269 MB / 0.4984 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.2098, allocations: 391.3 kB / 0.4988 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.2116, allocations: 2.058 MB / 0.5008 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2117, allocations: 39.12 kB / 0.5008 GB, free: 13.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.2117, allocations: 0 / 0.5008 GB, free: 13.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.02158/0.2333, allocations: 5.881 MB / 0.5066 GB, free: 7.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.2334, allocations: 86.11 kB / 0.5067 GB, free: 7.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/0.2358, allocations: 1.844 MB / 0.5085 GB, free: 5.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.2359, allocations: 41.7 kB / 0.5085 GB, free: 5.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.237, allocations: 1.652 MB / 0.5101 GB, free: 3.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.2373, allocations: 414.5 kB / 0.5105 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006783/0.238, allocations: 0.5482 MB / 0.5111 GB, free: 2.535 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2381, allocations: 301.1 kB / 0.5113 GB, free: 2.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2393, allocations: 0.8058 MB / 0.5121 GB, free: 1.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.2417, allocations: 2.362 MB / 0.5144 GB, free: 14.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.2457, allocations: 3.471 MB / 0.5178 GB, free: 10.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.236e-05/0.2457, allocations: 16 kB / 0.5178 GB, free: 10.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.004701/0.2505, allocations: 3.16 MB / 0.5209 GB, free: 6.883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.77e-05/0.2505, allocations: 28 kB / 0.521 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-05/0.2506, allocations: 60.81 kB / 0.521 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.02e-05/0.2507, allocations: 79.94 kB / 0.5211 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.2526, allocations: 0.6434 MB / 0.5217 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.48e-05/0.2527, allocations: 107.6 kB / 0.5218 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.2543, allocations: 127.8 kB / 0.5219 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.2546, allocations: 156 kB / 0.5221 GB, free: 5.691 MB / 414.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.001743/0.2563, allocations: 1.207 MB / 0.5233 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.2566, allocations: 169.8 kB / 0.5234 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.2586, allocations: 1.262 MB / 0.5247 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.2586, allocations: 12 kB / 0.5247 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2586, allocations: 4.031 kB / 0.5247 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.2587, allocations: 7.969 kB / 0.5247 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1702/0.4289, allocations: 6.454 MB / 0.531 GB, free: 86.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/0.429, allocations: 20.55 kB / 0.531 GB, free: 86.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.43, allocations: 204.7 kB / 0.5312 GB, free: 86.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-05/0.4301, allocations: 26.56 kB / 0.5312 GB, free: 86.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.432e-05/0.4302, allocations: 47.61 kB / 0.5313 GB, free: 86.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-05/0.4303, allocations: 42.5 kB / 0.5313 GB, free: 86.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.223e-05/0.4303, allocations: 35.38 kB / 0.5313 GB, free: 86.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/0.4329, allocations: 1.67 MB / 0.533 GB, free: 85.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.4335, allocations: 271.2 kB / 0.5332 GB, free: 85.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000306/0.4338, allocations: 50.03 kB / 0.5333 GB, free: 85.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.4349, allocations: 39.2 kB / 0.5333 GB, free: 85.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.4352, allocations: 138.3 kB / 0.5335 GB, free: 85.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.4353, allocations: 53.45 kB / 0.5335 GB, free: 85.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002909/0.4382, allocations: 1.231 MB / 0.5347 GB, free: 85 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4382, allocations: 0 / 0.5347 GB, free: 85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004764/0.443, allocations: 0.4923 MB / 0.5352 GB, free: 85 MB / 414.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.003451/0.4465, allocations: 2.314 MB / 0.5374 GB, free: 83.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004563/0.4511, allocations: 1.922 MB / 0.5393 GB, free: 82.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.799e-05/0.4512, allocations: 5.281 kB / 0.5393 GB, free: 82.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.4524, allocations: 494.3 kB / 0.5398 GB, free: 82.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.4551, allocations: 275.8 kB / 0.5401 GB, free: 82.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03814/0.4933, allocations: 22.55 MB / 0.5621 GB, free: 64.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/0.4963, allocations: 2.194 MB / 0.5642 GB, free: 62.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003029/0.4994, allocations: 0.7111 MB / 0.5649 GB, free: 61.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/0.5013, allocations: 1.05 MB / 0.566 GB, free: 60.44 MB / 414.1 MB Notification: Performance of SimCode: time 1.753e-06/0.5014, allocations: 4 kB / 0.566 GB, free: 60.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08011/0.5815, allocations: 35.91 MB / 0.601 GB, free: 24.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.448/10.03, allocations: 4.062 kB / 0.601 GB, free: 24.54 MB / 414.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches