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.001205/0.001205, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008916/0.0008916, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8645/0.8645, allocations: 158.6 MB / 185 MB, free: 3.039 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.1338/0.1338, allocations: 32.36 MB / 269.6 MB, free: 14.96 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 2.284e-06/2.284e-06, allocations: 0 / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.294e-05, allocations: 5.656 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01036/0.0104, allocations: 12.38 MB / 419.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007779/0.01818, allocations: 4.104 MB / 423.3 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.02037, allocations: 83.69 kB / 423.4 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00284/0.02321, allocations: 2.035 MB / 425.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004012/0.02723, allocations: 2.042 MB / 427.5 MB, free: 8.766 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.02837, allocations: 0.5885 MB / 428.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004162/0.03253, allocations: 4.427 MB / 432.5 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.03521, allocations: 2.704 MB / 435.2 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1791/0.2143, allocations: 2.265 MB / 437.5 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003398/0.2177, allocations: 2.215 MB / 439.7 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008347/0.2185, allocations: 310.6 kB / 440 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.2203, allocations: 0.9909 MB / 441 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001621/0.2219, allocations: 2.016 MB / 443 MB, free: 18.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.2237, allocations: 1.248 MB / 444.3 MB, free: 18.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.2313, allocations: 7.378 MB / 451.6 MB, free: 17.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2313, allocations: 0 / 451.6 MB, free: 17.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2313, allocations: 1.438 kB / 451.6 MB, free: 17.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.2315, allocations: 0 / 451.6 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.008975/0.2405, allocations: 4.992 MB / 456.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2405, allocations: 13.62 kB / 456.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009831/0.2415, allocations: 0.8184 MB / 457.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005807/0.2473, allocations: 3.276 MB / 460.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.2512, allocations: 2.362 MB / 463.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.2513, allocations: 231.3 kB / 463.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000649/0.2519, allocations: 321.1 kB / 463.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01284/0.2648, allocations: 12.11 MB / 475.8 MB, free: 2.148 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-05/0.2649, allocations: 34.3 kB / 475.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/0.2652, allocations: 144.6 kB / 475.9 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002615/0.2678, allocations: 2.84 MB / 478.8 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.2846, allocations: 11.37 MB / 490.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04416/0.3288, allocations: 39.25 MB / 0.517 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007447/0.3362, allocations: 5.03 MB / 0.5219 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/0.3394, allocations: 2.768 MB / 0.5246 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/0.3401, allocations: 0.5523 MB / 0.5251 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.3401, allocations: 52.56 kB / 0.5252 GB, free: 3.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.642e-06/0.3401, allocations: 0 / 0.5252 GB, free: 3.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.03191/0.372, allocations: 20.62 MB / 0.5453 GB, free: 15.29 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3721, allocations: 77.39 kB / 0.5454 GB, free: 15.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003877/0.3759, allocations: 3.442 MB / 0.5488 GB, free: 11.74 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000368/0.3763, allocations: 67.58 kB / 0.5488 GB, free: 11.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.3777, allocations: 3.104 MB / 0.5519 GB, free: 8.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.3788, allocations: 1.053 MB / 0.5529 GB, free: 7.539 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.3801, allocations: 1.199 MB / 0.5541 GB, free: 6.332 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.3801, allocations: 301.1 kB / 0.5543 GB, free: 6.035 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/0.383, allocations: 2.866 MB / 0.5571 GB, free: 3.164 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004702/0.3877, allocations: 6.071 MB / 0.5631 GB, free: 11.59 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009711/0.3974, allocations: 9.721 MB / 0.5726 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/0.3975, allocations: 36 kB / 0.5726 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01528/0.4128, allocations: 10.08 MB / 0.5824 GB, free: 6.461 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.4128, allocations: 55.94 kB / 0.5825 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.599e-05/0.4129, allocations: 112 kB / 0.5826 GB, free: 6.297 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00208/0.415, allocations: 1.363 MB / 0.5839 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/0.4185, allocations: 1.392 MB / 0.5853 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007736/0.4262, allocations: 7.637 MB / 0.5928 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00383/0.4301, allocations: 426.3 kB / 0.5932 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006521/0.4307, allocations: 348 kB / 0.5935 GB, free: 11.03 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.004367/0.4351, allocations: 2.302 MB / 0.5957 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/0.4356, allocations: 321.8 kB / 0.596 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007628/0.4432, allocations: 6.612 MB / 0.6025 GB, free: 1.734 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.834e-05/0.4433, allocations: 49.95 kB / 0.6025 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4433, allocations: 4 kB / 0.6026 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.4433, allocations: 19.89 kB / 0.6026 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.4605, allocations: 13.45 MB / 0.6157 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.4605, allocations: 8.188 kB / 0.6157 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.4618, allocations: 455.3 kB / 0.6161 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.4637, allocations: 1.21 MB / 0.6173 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/0.4639, allocations: 55.98 kB / 0.6174 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1897/0.6537, allocations: 6.847 MB / 0.6241 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.6537, allocations: 8.125 kB / 0.6241 GB, free: 174.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01271/0.6664, allocations: 9.864 MB / 0.6337 GB, free: 171 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.6679, allocations: 0.7984 MB / 0.6345 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.6682, allocations: 54.72 kB / 0.6345 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6693, allocations: 234 kB / 0.6348 GB, free: 170.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.6696, allocations: 170.7 kB / 0.6349 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.6697, allocations: 76.66 kB / 0.635 GB, free: 170.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002052/0.6718, allocations: 2.048 MB / 0.637 GB, free: 170 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6718, allocations: 0 / 0.637 GB, free: 170 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003572/0.6753, allocations: 1.198 MB / 0.6382 GB, free: 169.9 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.009421/0.6848, allocations: 10.56 MB / 0.6485 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006862/0.6916, allocations: 6.694 MB / 0.655 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.6916, allocations: 7.188 kB / 0.655 GB, free: 159.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002466/0.6941, allocations: 2.644 MB / 0.6576 GB, free: 157.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.6961, allocations: 415.6 kB / 0.658 GB, free: 157 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04821/0.7443, allocations: 49.87 MB / 0.7067 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002522/0.7468, allocations: 3.058 MB / 0.7097 GB, free: 101 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002978/0.7498, allocations: 2.219 MB / 0.7119 GB, free: 98.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001844/0.7517, allocations: 2.066 MB / 0.7139 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.383e-06/0.7517, allocations: 0 / 0.7139 GB, free: 96.74 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07861/0.8303, allocations: 72.67 MB / 0.7848 GB, free: 24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.03, allocations: 11.89 kB / 0.7849 GB, free: 23.99 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.178244314156473]