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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8683/0.8683, allocations: 158.6 MB / 185.1 MB, free: 2.996 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1367/0.1367, allocations: 32.37 MB / 269.7 MB, free: 14.9 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 407.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.25e-05/2.407e-05, allocations: 2.281 kB / 407.1 MB, free: 13.4 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.009663/0.009687, allocations: 12.39 MB / 419.5 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.01771, allocations: 4.1 MB / 423.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.01973, allocations: 83.69 kB / 423.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.02265, allocations: 2.032 MB / 425.7 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003773/0.02642, allocations: 2.042 MB / 427.7 MB, free: 8.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.02757, allocations: 0.5962 MB / 428.3 MB, free: 8.074 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004428/0.032, allocations: 4.423 MB / 432.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00298/0.03498, allocations: 2.704 MB / 435.4 MB, free: 0.875 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.18/0.215, allocations: 2.265 MB / 437.7 MB, free: 18.22 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004131/0.2191, allocations: 2.217 MB / 439.9 MB, free: 18.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009435/0.2201, allocations: 311.1 kB / 440.2 MB, free: 18.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.2224, allocations: 0.9924 MB / 441.2 MB, free: 18.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001903/0.2243, allocations: 2.013 MB / 443.2 MB, free: 18.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002035/0.2264, allocations: 1.246 MB / 444.5 MB, free: 18.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008543/0.2349, allocations: 7.381 MB / 451.9 MB, free: 17.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.2349, allocations: 0 / 451.9 MB, free: 17.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2349, allocations: 0 / 451.9 MB, free: 17.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003042/0.2352, allocations: 0 / 451.9 MB, free: 17.34 MB / 362.7 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.01318/0.2484, allocations: 4.994 MB / 456.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.2485, allocations: 9.125 kB / 456.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001586/0.25, allocations: 0.8217 MB / 457.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.2559, allocations: 3.276 MB / 461 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004527/0.2605, allocations: 2.362 MB / 463.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.2606, allocations: 234.8 kB / 463.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005934/0.2612, allocations: 314.4 kB / 463.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.2756, allocations: 12.11 MB / 476 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.302e-05/0.2757, allocations: 32.36 kB / 476 MB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/0.276, allocations: 150.8 kB / 476.1 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/0.2784, allocations: 2.836 MB / 479 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.2963, allocations: 11.37 MB / 490.3 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04973/0.3461, allocations: 39.26 MB / 0.5172 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00699/0.3531, allocations: 5.021 MB / 0.5221 GB, free: 7.297 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.3558, allocations: 2.766 MB / 0.5248 GB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007433/0.3566, allocations: 0.553 MB / 0.5253 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3566, allocations: 56.56 kB / 0.5254 GB, free: 3.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.555e-06/0.3566, allocations: 4 kB / 0.5254 GB, free: 3.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.03223/0.3889, allocations: 20.61 MB / 0.5455 GB, free: 15.24 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.3889, allocations: 77.41 kB / 0.5456 GB, free: 15.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004096/0.393, allocations: 3.45 MB / 0.549 GB, free: 11.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006388/0.3937, allocations: 64.59 kB / 0.549 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.3951, allocations: 3.107 MB / 0.5521 GB, free: 8.516 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.3963, allocations: 1.056 MB / 0.5531 GB, free: 7.473 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.3976, allocations: 1.191 MB / 0.5543 GB, free: 6.273 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.3977, allocations: 305.1 kB / 0.5546 GB, free: 5.973 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/0.4006, allocations: 2.861 MB / 0.5573 GB, free: 3.109 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/0.4048, allocations: 6.065 MB / 0.5633 GB, free: 11.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007943/0.4127, allocations: 9.729 MB / 0.5728 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.506e-05/0.4128, allocations: 32 kB / 0.5728 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.012/0.4248, allocations: 10.08 MB / 0.5826 GB, free: 6.414 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.4248, allocations: 56.94 kB / 0.5827 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.291e-05/0.4249, allocations: 112 kB / 0.5828 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/0.4269, allocations: 1.366 MB / 0.5841 GB, free: 4.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/0.4298, allocations: 1.388 MB / 0.5855 GB, free: 3.488 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006953/0.4367, allocations: 7.647 MB / 0.593 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.4399, allocations: 423.6 kB / 0.5934 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005469/0.4404, allocations: 346.7 kB / 0.5937 GB, free: 10.98 MB / 0.4948 GB 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.003596/0.444, allocations: 2.303 MB / 0.5959 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/0.4445, allocations: 321.8 kB / 0.5963 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007066/0.4516, allocations: 6.614 MB / 0.6027 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.4516, allocations: 44 kB / 0.6028 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4516, allocations: 4 kB / 0.6028 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4516, allocations: 15.89 kB / 0.6028 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.4675, allocations: 13.46 MB / 0.6159 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/0.4675, allocations: 8 kB / 0.6159 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.4687, allocations: 447.3 kB / 0.6164 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.4706, allocations: 1.218 MB / 0.6175 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002079/0.4708, allocations: 55.03 kB / 0.6176 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1855/0.6563, allocations: 6.842 MB / 0.6243 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6563, allocations: 11.19 kB / 0.6243 GB, free: 174.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.6674, allocations: 9.86 MB / 0.6339 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/0.669, allocations: 0.7931 MB / 0.6347 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/0.6693, allocations: 54.89 kB / 0.6347 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.6703, allocations: 240.7 kB / 0.635 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/0.6707, allocations: 173.8 kB / 0.6351 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.6708, allocations: 69.42 kB / 0.6352 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002064/0.6728, allocations: 2.052 MB / 0.6372 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6728, allocations: 0 / 0.6372 GB, free: 170.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003349/0.6762, allocations: 1.206 MB / 0.6384 GB, free: 170.1 MB / 0.5105 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.008463/0.6847, allocations: 10.54 MB / 0.6487 GB, free: 165.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00654/0.6912, allocations: 6.705 MB / 0.6552 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/0.6912, allocations: 0 / 0.6552 GB, free: 159.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.6936, allocations: 2.647 MB / 0.6578 GB, free: 157.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6954, allocations: 426.4 kB / 0.6582 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0467/0.7421, allocations: 49.87 MB / 0.7069 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0023/0.7444, allocations: 3.064 MB / 0.7099 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002752/0.7471, allocations: 2.215 MB / 0.7121 GB, free: 98.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/0.7489, allocations: 2.074 MB / 0.7141 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/0.7489, allocations: 0 / 0.7141 GB, free: 96.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08003/0.8289, allocations: 72.65 MB / 0.785 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/10.95, allocations: 8 kB / 0.785 GB, free: 24.01 MB / 0.5105 GB " [Timeout remaining time 649] (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.000219912 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 13.095687900669873]