Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2338/0.2338, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 79.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4218, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01817/0.44, allocations: 13.46 MB / 0.5437 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.4533, allocations: 4.202 MB / 0.5478 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.4575, allocations: 68.5 kB / 0.5478 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005866/0.4634, allocations: 1.957 MB / 0.5497 GB, free: 14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.4715, allocations: 1.953 MB / 0.5516 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.474, allocations: 0.5459 MB / 0.5522 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008253/0.4823, allocations: 4.053 MB / 0.5561 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00468/0.487, allocations: 2.857 MB / 0.5589 GB, free: 4.527 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.4899, allocations: 1.448 MB / 0.5603 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.4934, allocations: 2.009 MB / 0.5623 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.4947, allocations: 304 kB / 0.5626 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.4977, allocations: 1.01 MB / 0.5636 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002669/0.5004, allocations: 1.85 MB / 0.5654 GB, free: 13.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004662/0.5051, allocations: 2.24 MB / 0.5676 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.5165, allocations: 7.322 MB / 0.5747 GB, free: 4.289 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.5166, allocations: 4 kB / 0.5747 GB, free: 4.285 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.5166, allocations: 0 / 0.5747 GB, free: 4.285 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003145/0.5169, allocations: 0 / 0.5747 GB, free: 4.285 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.0135/0.5304, allocations: 5.021 MB / 0.5796 GB, free: 15.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.5305, allocations: 8.031 kB / 0.5796 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002313/0.5328, allocations: 0.8118 MB / 0.5804 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.544, allocations: 3.18 MB / 0.5835 GB, free: 11.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.5495, allocations: 2.404 MB / 0.5859 GB, free: 8.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.5499, allocations: 242.2 kB / 0.5861 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.5513, allocations: 311.7 kB / 0.5864 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/0.5743, allocations: 12.08 MB / 0.5982 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/0.5746, allocations: 35.7 kB / 0.5982 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/0.5759, allocations: 147.8 kB / 0.5984 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005269/0.5812, allocations: 2.843 MB / 0.6012 GB, free: 8.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02941/0.6107, allocations: 11.35 MB / 0.6122 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07599/0.6868, allocations: 41.12 MB / 0.6524 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/0.7008, allocations: 6.078 MB / 0.6583 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004794/0.7056, allocations: 3.006 MB / 0.6613 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.7079, allocations: 1.88 MB / 0.6631 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.804e-05/0.7081, allocations: 61.06 kB / 0.6632 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 9.498e-06/0.7081, allocations: 0 / 0.6632 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05536/0.7635, allocations: 20.21 MB / 0.6829 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.7636, allocations: 77.41 kB / 0.683 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005309/0.7689, allocations: 3.036 MB / 0.6859 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006132/0.7696, allocations: 65.7 kB / 0.686 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.7721, allocations: 3.104 MB / 0.689 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00167/0.7738, allocations: 1.07 MB / 0.6901 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003188/0.777, allocations: 1.199 MB / 0.6913 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7771, allocations: 305.1 kB / 0.6915 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005092/0.7822, allocations: 2.85 MB / 0.6943 GB, free: 7.254 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008464/0.7907, allocations: 6.018 MB / 0.7002 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0146/0.8054, allocations: 9.653 MB / 0.7096 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/0.8056, allocations: 32 kB / 0.7097 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02234/0.828, allocations: 10.04 MB / 0.7195 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.8282, allocations: 52 kB / 0.7195 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/0.8284, allocations: 108 kB / 0.7196 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004034/0.8325, allocations: 1.369 MB / 0.721 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/0.8378, allocations: 1.365 MB / 0.7223 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2831/1.121, allocations: 7.814 MB / 0.7299 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00419/1.125, allocations: 359.8 kB / 0.7303 GB, free: 173.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.126, allocations: 340.1 kB / 0.7306 GB, free: 173.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,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 (718): * Single equations (assignments): 711 * 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.003362/1.13, allocations: 2.31 MB / 0.7328 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/1.13, allocations: 326.5 kB / 0.7332 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/1.14, allocations: 6.615 MB / 0.7396 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.367e-05/1.14, allocations: 50.02 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.14, allocations: 8.938 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/1.14, allocations: 13.17 kB / 0.7397 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01977/1.16, allocations: 13.89 MB / 0.7532 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.16, allocations: 9.906 kB / 0.7533 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001834/1.162, allocations: 452 kB / 0.7537 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002898/1.165, allocations: 1.213 MB / 0.7549 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003421/1.165, allocations: 55.16 kB / 0.7549 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/1.172, allocations: 7.016 MB / 0.7618 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.172, allocations: 11.94 kB / 0.7618 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01157/1.184, allocations: 9.879 MB / 0.7714 GB, free: 150.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006289/1.185, allocations: 375.3 kB / 0.7718 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005374/1.185, allocations: 51.92 kB / 0.7718 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/1.187, allocations: 191.7 kB / 0.772 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004354/1.187, allocations: 165.4 kB / 0.7722 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/1.187, allocations: 74.81 kB / 0.7723 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002272/1.19, allocations: 1.874 MB / 0.7741 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/1.19, allocations: 0 / 0.7741 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004718/1.194, allocations: 1.102 MB / 0.7752 GB, free: 146.8 MB / 0.5762 GB 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.01145/1.206, allocations: 10.56 MB / 0.7855 GB, free: 136.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009038/1.215, allocations: 6.977 MB / 0.7923 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.215, allocations: 4 kB / 0.7923 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003509/1.219, allocations: 2.857 MB / 0.7951 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/1.221, allocations: 426.4 kB / 0.7955 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07073/1.292, allocations: 48.98 MB / 0.8433 GB, free: 72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/1.297, allocations: 3.586 MB / 0.8468 GB, free: 68.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004746/1.302, allocations: 2.203 MB / 0.849 GB, free: 66.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/1.305, allocations: 2.065 MB / 0.851 GB, free: 64.11 MB / 0.5762 GB Notification: Performance of SimCode: time 1.703e-06/1.305, allocations: 4 kB / 0.851 GB, free: 64.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/1.413, allocations: 70.04 MB / 0.9194 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.67/24.08, allocations: 16.86 kB / 0.9194 GB, free: 10.34 MB / 0.5919 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches