Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.002064/0.002063, allocations: 105.1 kB / 16.27 MB, free: 5.852 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.002837/0.002837, allocations: 186.1 kB / 17.19 MB, free: 5.504 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.574/1.574, 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.217/0.217, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001513/0.001513, allocations: 64.83 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1079, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.008854/0.1168, allocations: 10.32 MB / 450.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.1231, allocations: 3.407 MB / 454.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/0.1243, allocations: 51.88 kB / 454.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004475/0.1287, allocations: 2.629 MB / 457 MB, free: 6.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.1305, allocations: 0.6645 MB / 457.7 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.132, allocations: 0.7172 MB / 458.4 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001885/0.1339, allocations: 1.703 MB / 460.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003261/0.1372, allocations: 3.349 MB / 463.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.1384, allocations: 1.04 MB / 464.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.1399, allocations: 1.363 MB / 465.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.1403, allocations: 287.9 kB / 466.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.1419, allocations: 0.987 MB / 467.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.143, allocations: 1.228 MB / 468.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.1444, allocations: 1.461 MB / 469.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006124/0.1506, allocations: 4.767 MB / 474.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1506, allocations: 0 / 474.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1506, allocations: 0 / 474.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001139/0.1507, allocations: 0 / 474.6 MB, free: 4.691 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007092/0.1578, allocations: 3.094 MB / 477.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.17e-05/0.1579, allocations: 15.88 kB / 477.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006218/0.1585, allocations: 469.4 kB / 478.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.1598, allocations: 360.9 kB / 478.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.1624, allocations: 1.317 MB / 479.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.1625, allocations: 176.5 kB / 480 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003956/0.1629, allocations: 231.9 kB / 480.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01332/0.1762, allocations: 6.889 MB / 487.1 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.287e-05/0.1763, allocations: 15.84 kB / 487.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002331/0.1766, allocations: 103.9 kB / 487.2 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001465/0.1781, allocations: 0.9886 MB / 488.2 MB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/0.191, allocations: 5.683 MB / 493.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02729/0.2183, allocations: 20.28 MB / 0.5021 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.2253, allocations: 1.818 MB / 0.5039 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009828/0.2264, allocations: 0.6867 MB / 0.5046 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006532/0.2329, allocations: 4.875 MB / 0.5093 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.233, allocations: 39.12 kB / 0.5094 GB, free: 4.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 3.166e-06/0.233, allocations: 0 / 0.5094 GB, free: 4.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.041/0.274, allocations: 9.254 MB / 0.5184 GB, free: 11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.2741, allocations: 94.05 kB / 0.5185 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.2767, allocations: 1.966 MB / 0.5204 GB, free: 8.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/0.2769, allocations: 45.7 kB / 0.5205 GB, free: 8.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.278, allocations: 1.675 MB / 0.5221 GB, free: 7.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.2784, allocations: 406.6 kB / 0.5225 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008249/0.2792, allocations: 0.5836 MB / 0.5231 GB, free: 6.176 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.2795, allocations: 301.1 kB / 0.5233 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.2811, allocations: 1.04 MB / 0.5244 GB, free: 4.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.2836, allocations: 2.66 MB / 0.527 GB, free: 1.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2057/0.4894, allocations: 3.984 MB / 0.5309 GB, free: 85.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.702e-05/0.4894, allocations: 15.72 kB / 0.5309 GB, free: 85.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005629/0.4951, allocations: 3.682 MB / 0.5345 GB, free: 85.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.4952, allocations: 33.58 kB / 0.5345 GB, free: 85.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.062e-05/0.4952, allocations: 57.75 kB / 0.5345 GB, free: 85.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.4954, allocations: 82.62 kB / 0.5346 GB, free: 85.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.4978, allocations: 0.7072 MB / 0.5353 GB, free: 84.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001171/0.4979, allocations: 114 kB / 0.5354 GB, free: 84.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4997, allocations: 159 kB / 0.5356 GB, free: 84.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000221/0.4999, allocations: 169.9 kB / 0.5357 GB, free: 84.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (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 (373): * Single equations (assignments): 373 * 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.001793/0.5017, allocations: 1.205 MB / 0.5369 GB, free: 84.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.502, allocations: 178 kB / 0.5371 GB, free: 84.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.5047, allocations: 1.735 MB / 0.5388 GB, free: 83.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.5047, allocations: 12.42 kB / 0.5388 GB, free: 83.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.5048, allocations: 0 / 0.5388 GB, free: 83.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.5048, allocations: 5.203 kB / 0.5388 GB, free: 83.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/0.5139, allocations: 5.877 MB / 0.5445 GB, free: 80.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.5139, allocations: 11.78 kB / 0.5445 GB, free: 80.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.5147, allocations: 211.8 kB / 0.5448 GB, free: 80.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/0.5147, allocations: 15.81 kB / 0.5448 GB, free: 80.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.5148, allocations: 37.66 kB / 0.5448 GB, free: 80.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.5148, allocations: 23.89 kB / 0.5448 GB, free: 80.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/0.5148, allocations: 23.66 kB / 0.5448 GB, free: 80.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5166, allocations: 1.69 MB / 0.5465 GB, free: 79.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.5169, allocations: 266 kB / 0.5468 GB, free: 79.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.5171, allocations: 34.95 kB / 0.5468 GB, free: 79.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.5178, allocations: 40.27 kB / 0.5468 GB, free: 79.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.518, allocations: 109.4 kB / 0.5469 GB, free: 79.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.842e-05/0.518, allocations: 42.69 kB / 0.547 GB, free: 79.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00135/0.5194, allocations: 1.29 MB / 0.5482 GB, free: 78.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5194, allocations: 4 kB / 0.5482 GB, free: 78.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002054/0.5215, allocations: 0.5328 MB / 0.5488 GB, free: 78.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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.002005/0.5235, allocations: 2.328 MB / 0.551 GB, free: 77.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003535/0.527, allocations: 2.494 MB / 0.5535 GB, free: 76.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.5271, allocations: 4 kB / 0.5535 GB, free: 76.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007142/0.5278, allocations: 0.6024 MB / 0.5541 GB, free: 75.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.5293, allocations: 257.3 kB / 0.5543 GB, free: 75.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/0.552, allocations: 24.09 MB / 0.5778 GB, free: 48.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/0.5535, allocations: 2.183 MB / 0.58 GB, free: 46.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001892/0.5554, allocations: 0.7731 MB / 0.5807 GB, free: 45.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.5565, allocations: 1.069 MB / 0.5818 GB, free: 44.66 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5565, allocations: 0 / 0.5818 GB, free: 44.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.6144, allocations: 39.84 MB / 0.6207 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.75/9.364, allocations: 15.27 kB / 0.6207 GB, free: 4.812 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches