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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.866/0.866, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2352/0.2352, allocations: 34.23 MB / 294.8 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.026e-05, allocations: 2.281 kB / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1729/0.173, allocations: 11.73 MB / 453.9 MB, free: 37.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006415/0.1794, allocations: 4.029 MB / 457.9 MB, free: 35.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002117/0.1815, allocations: 80.94 kB / 458 MB, free: 35.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.1841, allocations: 2.005 MB / 460 MB, free: 34.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.1883, allocations: 2.003 MB / 462 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1895, allocations: 0.5876 MB / 462.6 MB, free: 33.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003913/0.1934, allocations: 4.43 MB / 467 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.1956, allocations: 2.671 MB / 469.7 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.1981, allocations: 2.231 MB / 471.9 MB, free: 29.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002231/0.2003, allocations: 2.2 MB / 474.1 MB, free: 28.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004841/0.2008, allocations: 312.3 kB / 474.4 MB, free: 28.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.2021, allocations: 0.9728 MB / 475.4 MB, free: 28.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009402/0.203, allocations: 1.968 MB / 477.4 MB, free: 27.65 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.2041, allocations: 1.216 MB / 478.6 MB, free: 27.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006913/0.211, allocations: 7.284 MB / 485.9 MB, free: 24.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.211, allocations: 4 kB / 485.9 MB, free: 24.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.211, allocations: 1 kB / 485.9 MB, free: 24.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002963/0.2113, allocations: 0 / 485.9 MB, free: 24.49 MB / 410.7 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.01186/0.2231, allocations: 4.937 MB / 490.8 MB, free: 21.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2232, allocations: 9.844 kB / 490.8 MB, free: 21.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001975/0.2252, allocations: 0.8132 MB / 491.6 MB, free: 21.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007529/0.2327, allocations: 3.273 MB / 494.9 MB, free: 20.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005231/0.2379, allocations: 2.205 MB / 497.1 MB, free: 19.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.2381, allocations: 239.7 kB / 497.4 MB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/0.2391, allocations: 304.8 kB / 497.7 MB, free: 19.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.2536, allocations: 12.11 MB / 0.4978 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.533e-05/0.2537, allocations: 35.67 kB / 0.4979 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003498/0.254, allocations: 147.8 kB / 0.498 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002454/0.2565, allocations: 2.835 MB / 0.5008 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/0.2699, allocations: 11.34 MB / 0.5118 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04257/0.3125, allocations: 39.31 MB / 0.5502 GB, free: 5.902 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.3198, allocations: 5.021 MB / 0.5551 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/0.3225, allocations: 2.771 MB / 0.5578 GB, free: 14.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/0.3233, allocations: 0.5557 MB / 0.5584 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.3233, allocations: 56.55 kB / 0.5584 GB, free: 13.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 5.981e-06/0.3233, allocations: 0 / 0.5584 GB, free: 13.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.03232/0.3556, allocations: 20.51 MB / 0.5785 GB, free: 8.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.3557, allocations: 77.34 kB / 0.5785 GB, free: 8.766 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.3597, allocations: 3.381 MB / 0.5818 GB, free: 5.363 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005715/0.3603, allocations: 65.7 kB / 0.5819 GB, free: 5.293 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.3619, allocations: 3.081 MB / 0.5849 GB, free: 2.184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.363, allocations: 1.05 MB / 0.5859 GB, free: 1.125 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/0.3643, allocations: 1.184 MB / 0.5871 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.3644, allocations: 305.1 kB / 0.5874 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/0.3675, allocations: 2.85 MB / 0.5902 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004841/0.3724, allocations: 6.033 MB / 0.5961 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009557/0.3819, allocations: 9.668 MB / 0.6055 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.866e-05/0.382, allocations: 36 kB / 0.6055 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0151/0.3971, allocations: 10.05 MB / 0.6153 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.3972, allocations: 52 kB / 0.6154 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/0.3973, allocations: 112 kB / 0.6155 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.3995, allocations: 1.362 MB / 0.6168 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/0.4029, allocations: 1.376 MB / 0.6182 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.4104, allocations: 7.641 MB / 0.6256 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/0.4141, allocations: 415.6 kB / 0.626 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/0.4151, allocations: 347.9 kB / 0.6264 GB, free: 4.48 MB / 0.5261 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.004313/0.4194, allocations: 2.295 MB / 0.6286 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009004/0.4203, allocations: 317.8 kB / 0.6289 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2007/0.6211, allocations: 6.612 MB / 0.6354 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/0.6211, allocations: 51.81 kB / 0.6354 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6211, allocations: 9.281 kB / 0.6354 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/0.6211, allocations: 13.08 kB / 0.6354 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.6361, allocations: 13.41 MB / 0.6485 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6361, allocations: 6.656 kB / 0.6485 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6372, allocations: 455.5 kB / 0.649 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/0.6388, allocations: 1.211 MB / 0.6502 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/0.6391, allocations: 55.23 kB / 0.6502 GB, free: 146.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005195/0.6442, allocations: 6.844 MB / 0.6569 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6443, allocations: 12.62 kB / 0.6569 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.6561, allocations: 9.856 MB / 0.6665 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009632/0.6571, allocations: 316.8 kB / 0.6668 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006053/0.6577, allocations: 50.2 kB / 0.6669 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6589, allocations: 230.2 kB / 0.6671 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004021/0.6593, allocations: 170 kB / 0.6673 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/0.6595, allocations: 77.11 kB / 0.6673 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003107/0.6626, allocations: 1.999 MB / 0.6693 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.6626, allocations: 0 / 0.6693 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005259/0.6678, allocations: 1.17 MB / 0.6704 GB, free: 138.8 MB / 0.5261 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.01131/0.6792, allocations: 10.54 MB / 0.6807 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007047/0.6862, allocations: 6.696 MB / 0.6873 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.6862, allocations: 4 kB / 0.6873 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002683/0.6889, allocations: 2.644 MB / 0.6898 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.6911, allocations: 439 kB / 0.6903 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05503/0.7461, allocations: 49.46 MB / 0.7386 GB, free: 76.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004203/0.7503, allocations: 3.046 MB / 0.7415 GB, free: 73.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003443/0.7537, allocations: 2.211 MB / 0.7437 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/0.7562, allocations: 2.078 MB / 0.7457 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/0.7562, allocations: 0 / 0.7457 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08202/0.8382, allocations: 72.22 MB / 0.8163 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.31/10.15, allocations: 3.984 kB / 0.8163 GB, free: 13.85 MB / 0.5417 GB " [Timeout remaining time 650] (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.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.244025248102844]