Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",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.001344/0.001344, allocations: 108 kB / 16.41 MB, free: 6.484 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.001375/0.001375, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.477/1.477, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.238/0.238, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 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.002195/0.002195, allocations: 59.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1067, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01567/0.1224, allocations: 12.01 MB / 0.4991 GB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.1332, allocations: 4.38 MB / 0.5034 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.1353, allocations: 79.75 kB / 0.5035 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00586/0.1412, allocations: 2.764 MB / 0.5062 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.1469, allocations: 2.039 MB / 0.5082 GB, free: 6.922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.1494, allocations: 1.014 MB / 0.5092 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008306/0.1577, allocations: 5.131 MB / 0.5142 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008167/0.1659, allocations: 3.44 MB / 0.5175 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005032/0.171, allocations: 1.764 MB / 0.5193 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004798/0.1759, allocations: 2.453 MB / 0.5217 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.1776, allocations: 368 kB / 0.522 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003777/0.1814, allocations: 1.408 MB / 0.5234 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003284/0.1847, allocations: 2.201 MB / 0.5255 GB, free: 5.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004811/0.1895, allocations: 2.587 MB / 0.5281 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2652/0.4547, allocations: 8.295 MB / 0.5362 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.4548, allocations: 0 / 0.5362 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4548, allocations: 4.953 kB / 0.5362 GB, free: 15.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003845/0.4552, allocations: 0.5625 kB / 0.5362 GB, free: 15.48 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02392/0.4791, allocations: 6.067 MB / 0.5421 GB, free: 13.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.558e-05/0.4792, allocations: 12.7 kB / 0.5421 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004167/0.4834, allocations: 0.7989 MB / 0.5429 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0984/0.5818, allocations: 7.251 MB / 0.55 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/0.5932, allocations: 4.134 MB / 0.554 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/0.5937, allocations: 256.8 kB / 0.5543 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.5962, allocations: 352 kB / 0.5546 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.6198, allocations: 12.29 MB / 0.5666 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.62, allocations: 57.94 kB / 0.5666 GB, free: 5.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006089/0.6207, allocations: 158.6 kB / 0.5668 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003376/0.624, allocations: 2.388 MB / 0.5691 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02138/0.6454, allocations: 10.7 MB / 0.5796 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07787/0.7233, allocations: 48.68 MB / 0.6271 GB, free: 9.941 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01734/0.7407, allocations: 5.848 MB / 0.6328 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/0.7457, allocations: 3.11 MB / 0.6359 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02691/0.7726, allocations: 13.05 MB / 0.6486 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.041e-05/0.7728, allocations: 55.72 kB / 0.6487 GB, free: 3.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 4.819e-06/0.7728, allocations: 0 / 0.6487 GB, free: 3.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.1353/0.9081, allocations: 39.07 MB / 0.6868 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.9083, allocations: 213.3 kB / 0.687 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007497/0.9158, allocations: 4.426 MB / 0.6913 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006563/0.9165, allocations: 61.7 kB / 0.6914 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003006/0.9195, allocations: 3.58 MB / 0.6949 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001419/0.9209, allocations: 0.9872 MB / 0.6959 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002225/0.9231, allocations: 1.381 MB / 0.6972 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9233, allocations: 301.1 kB / 0.6975 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005468/0.9288, allocations: 3.121 MB / 0.7005 GB, free: 14.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00971/0.9385, allocations: 7.044 MB / 0.7074 GB, free: 5.422 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01668/0.9552, allocations: 10.95 MB / 0.7181 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001359/0.9554, allocations: 41.97 kB / 0.7182 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03173/0.9871, allocations: 12.68 MB / 0.7305 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.9873, allocations: 64 kB / 0.7306 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002689/0.9876, allocations: 140 kB / 0.7307 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/0.9986, allocations: 3.244 MB / 0.7339 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005836/1.005, allocations: 1.528 MB / 0.7354 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02744/1.032, allocations: 16.62 MB / 0.7516 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007186/1.039, allocations: 427.5 kB / 0.752 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001715/1.041, allocations: 408 kB / 0.7524 GB, free: 6.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007031/1.048, allocations: 2.352 MB / 0.7547 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001467/1.049, allocations: 425.1 kB / 0.7551 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2434/1.293, allocations: 7.52 MB / 0.7625 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.365e-05/1.293, allocations: 29.34 kB / 0.7625 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/1.293, allocations: 14.88 kB / 0.7625 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.531e-05/1.293, allocations: 11.95 kB / 0.7625 GB, free: 211.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.324, allocations: 15.04 MB / 0.7772 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.578e-05/1.324, allocations: 0 / 0.7772 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.326, allocations: 379.2 kB / 0.7776 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007987/1.334, allocations: 2.921 MB / 0.7804 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005027/1.335, allocations: 43.8 kB / 0.7805 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/1.353, allocations: 14.83 MB / 0.795 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.353, allocations: 7 kB / 0.795 GB, free: 197.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/1.37, allocations: 11.52 MB / 0.8062 GB, free: 187.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/1.373, allocations: 0.9411 MB / 0.8071 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009482/1.374, allocations: 43.97 kB / 0.8072 GB, free: 187.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.376, allocations: 191.6 kB / 0.8074 GB, free: 187 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005648/1.377, allocations: 149.7 kB / 0.8075 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.377, allocations: 67.75 kB / 0.8076 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0041/1.381, allocations: 2.771 MB / 0.8103 GB, free: 184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.41e-07/1.381, allocations: 4 kB / 0.8103 GB, free: 184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006443/1.387, allocations: 1.311 MB / 0.8116 GB, free: 182.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01676/1.404, allocations: 12.17 MB / 0.8234 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.415, allocations: 7.859 MB / 0.8311 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.415, allocations: 0 / 0.8311 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00445/1.42, allocations: 3.137 MB / 0.8342 GB, free: 159.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003162/1.423, allocations: 0.5225 MB / 0.8347 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08482/1.508, allocations: 60.93 MB / 0.8942 GB, free: 92.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003924/1.512, allocations: 3.68 MB / 0.8978 GB, free: 88.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0048/1.517, allocations: 2.18 MB / 0.8999 GB, free: 86.22 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00332/1.52, allocations: 2.225 MB / 0.9021 GB, free: 83.99 MB / 0.5919 GB Notification: Performance of SimCode: time 8.91e-07/1.52, allocations: 0 / 0.9021 GB, free: 83.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3757/1.896, allocations: 94.6 MB / 0.9945 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.29/30.18, allocations: 18.27 kB / 0.9945 GB, free: 203.4 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches