Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",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.001482/0.001482, allocations: 104.1 kB / 16.27 MB, free: 6.348 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.001733/0.001733, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.527/1.527, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2166/0.2166, allocations: 43.51 MB / 313.9 MB, free: 0.543 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.001609/0.001609, allocations: 78.12 kB / 382.8 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 57.78 MB / 440.6 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01457/0.1182, allocations: 14.22 MB / 454.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1286, allocations: 4.288 MB / 459.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/0.1316, allocations: 71.88 kB / 459.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004605/0.1363, allocations: 1.973 MB / 461.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.1418, allocations: 1.918 MB / 463.1 MB, free: 264 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.1434, allocations: 0.5537 MB / 463.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006226/0.1496, allocations: 4.069 MB / 467.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004406/0.154, allocations: 2.886 MB / 470.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.157, allocations: 1.471 MB / 472.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.1609, allocations: 2.032 MB / 474.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00155/0.1625, allocations: 308 kB / 474.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002953/0.1654, allocations: 1.014 MB / 475.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002922/0.1684, allocations: 1.886 MB / 477.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004238/0.1727, allocations: 2.279 MB / 479.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009303/0.182, allocations: 7.071 MB / 486.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.182, allocations: 0 / 486.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.182, allocations: 0 / 486.6 MB, free: 8.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002782/0.1823, allocations: 7.938 kB / 486.7 MB, free: 8.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01183/0.1941, allocations: 4.92 MB / 491.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1942, allocations: 11.89 kB / 491.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00252/0.1967, allocations: 0.8275 MB / 492.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01184/0.2086, allocations: 3.149 MB / 495.6 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005936/0.2146, allocations: 2.637 MB / 498.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.2149, allocations: 238.3 kB / 498.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002077/0.217, allocations: 307.8 kB / 498.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/0.2425, allocations: 12.1 MB / 0.4989 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002278/0.2428, allocations: 31.81 kB / 0.4989 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001487/0.2443, allocations: 147.8 kB / 0.499 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005608/0.2499, allocations: 2.835 MB / 0.5018 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.2742, allocations: 11.39 MB / 0.5129 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2874/0.5616, allocations: 41.17 MB / 0.5531 GB, free: 59.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.5725, allocations: 6.067 MB / 0.5591 GB, free: 57.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/0.5755, allocations: 3.012 MB / 0.562 GB, free: 56.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.5768, allocations: 1.883 MB / 0.5638 GB, free: 54.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.5769, allocations: 57.53 kB / 0.5639 GB, free: 54.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 4.318e-06/0.5769, allocations: 5.984 kB / 0.5639 GB, free: 54.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.04288/0.6198, allocations: 20.19 MB / 0.5836 GB, free: 44.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.6198, allocations: 77.39 kB / 0.5837 GB, free: 44.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004177/0.624, allocations: 3.072 MB / 0.5867 GB, free: 41.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004723/0.6245, allocations: 61.7 kB / 0.5867 GB, free: 41.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001372/0.6259, allocations: 3.009 MB / 0.5897 GB, free: 38.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009402/0.6268, allocations: 1.024 MB / 0.5907 GB, free: 37.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.6283, allocations: 1.198 MB / 0.5918 GB, free: 35.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.6283, allocations: 305.1 kB / 0.5921 GB, free: 35.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003121/0.6314, allocations: 2.85 MB / 0.5949 GB, free: 32.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004249/0.6357, allocations: 6.061 MB / 0.6008 GB, free: 25.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009153/0.6449, allocations: 9.709 MB / 0.6103 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.392e-05/0.645, allocations: 34.91 kB / 0.6104 GB, free: 13.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.0151/0.6601, allocations: 10.07 MB / 0.6202 GB, free: 3.762 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.827e-05/0.6602, allocations: 52 kB / 0.6202 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-05/0.6603, allocations: 112.9 kB / 0.6203 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/0.6635, allocations: 1.374 MB / 0.6217 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.6678, allocations: 1.376 MB / 0.623 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.6779, allocations: 7.817 MB / 0.6307 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005139/0.6831, allocations: 363.7 kB / 0.631 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.6842, allocations: 351.3 kB / 0.6313 GB, free: 8.203 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (724): * Single equations (assignments): 717 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004473/0.6886, allocations: 2.305 MB / 0.6336 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006616/0.6893, allocations: 307.9 kB / 0.6339 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/0.7003, allocations: 6.627 MB / 0.6404 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.158e-05/0.7004, allocations: 51.92 kB / 0.6404 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.7004, allocations: 4 kB / 0.6404 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/0.7005, allocations: 11.95 kB / 0.6404 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02655/0.727, allocations: 14.04 MB / 0.6541 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.27e-05/0.7271, allocations: 12.06 kB / 0.6541 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/0.7295, allocations: 447.3 kB / 0.6546 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003576/0.7331, allocations: 1.206 MB / 0.6558 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/0.7334, allocations: 63.86 kB / 0.6558 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009262/0.7427, allocations: 6.967 MB / 0.6626 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.859e-06/0.7427, allocations: 11.94 kB / 0.6626 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01677/0.7595, allocations: 9.868 MB / 0.6723 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/0.7619, allocations: 0.8173 MB / 0.6731 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/0.7625, allocations: 48 kB / 0.6731 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/0.7644, allocations: 211.1 kB / 0.6733 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004663/0.7649, allocations: 159.2 kB / 0.6735 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/0.7651, allocations: 79.98 kB / 0.6735 GB, free: 12.46 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002953/0.7681, allocations: 1.891 MB / 0.6754 GB, free: 10.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7681, allocations: 0 / 0.6754 GB, free: 10.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00502/0.7731, allocations: 1.135 MB / 0.6765 GB, free: 9.441 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01609/0.7892, allocations: 10.53 MB / 0.6868 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01993/0.8092, allocations: 12 MB / 0.6985 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/0.8093, allocations: 7.938 kB / 0.6985 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004512/0.8138, allocations: 2.852 MB / 0.7013 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.8164, allocations: 408.9 kB / 0.7017 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3008/1.117, allocations: 53.14 MB / 0.7536 GB, free: 144.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005055/1.122, allocations: 3.587 MB / 0.7571 GB, free: 141.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007398/1.13, allocations: 2.203 MB / 0.7592 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004356/1.134, allocations: 2.065 MB / 0.7612 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/1.134, allocations: 0 / 0.7612 GB, free: 137.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/1.248, allocations: 73.37 MB / 0.8329 GB, free: 63.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.9, allocations: 16.33 kB / 0.8329 GB, free: 63.88 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_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_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches