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.0008289/0.0008289, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007836/0.0007836, 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.7818/0.7818, 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.1202/0.1202, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.433e-06/1.433e-06, allocations: 0 / 406.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.939e-05, allocations: 9.875 kB / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.008666/0.008686, allocations: 12.37 MB / 419.2 MB, free: 5.797 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005363/0.01405, allocations: 4.108 MB / 423.3 MB, free: 1.676 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006867/0.01474, allocations: 79.69 kB / 423.4 MB, free: 1.598 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.01668, allocations: 2.028 MB / 425.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.0188, allocations: 2.049 MB / 427.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.01945, allocations: 0.5846 MB / 428.1 MB, free: 12.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.02219, allocations: 4.431 MB / 432.5 MB, free: 8.477 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.02383, allocations: 2.704 MB / 435.2 MB, free: 5.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.02576, allocations: 2.272 MB / 437.5 MB, free: 3.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.02763, allocations: 2.213 MB / 439.7 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002937/0.02792, allocations: 311.9 kB / 440 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.02899, allocations: 0.9946 MB / 441 MB, free: 15.92 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.03005, allocations: 2.018 MB / 443 MB, free: 13.9 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.03124, allocations: 1.238 MB / 444.3 MB, free: 12.66 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004558/0.0358, allocations: 7.381 MB / 451.6 MB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.0358, allocations: 0 / 451.6 MB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0358, allocations: 0 / 451.6 MB, free: 5.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.004e-05/0.03585, allocations: 4 kB / 451.6 MB, free: 5.246 MB / 426.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.004858/0.04071, allocations: 4.995 MB / 456.6 MB, free: 196 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.04076, allocations: 12.03 kB / 456.6 MB, free: 184 kB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006492/0.04141, allocations: 0.8197 MB / 457.5 MB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005866/0.04727, allocations: 3.27 MB / 460.7 MB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/0.0498, allocations: 2.37 MB / 463.1 MB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/0.04992, allocations: 242.3 kB / 463.3 MB, free: 9.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003875/0.05031, allocations: 304.2 kB / 463.6 MB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1571/0.2074, allocations: 12.11 MB / 475.7 MB, free: 92.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.279e-05/0.2075, allocations: 38.38 kB / 475.8 MB, free: 92.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.2077, allocations: 142.4 kB / 475.9 MB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002161/0.2099, allocations: 2.838 MB / 478.8 MB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009306/0.2192, allocations: 11.36 MB / 490.1 MB, free: 88.59 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/0.2456, allocations: 39.25 MB / 0.517 GB, free: 64.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005432/0.2511, allocations: 5.036 MB / 0.5219 GB, free: 62.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.2528, allocations: 2.764 MB / 0.5246 GB, free: 59.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005338/0.2533, allocations: 0.5567 MB / 0.5251 GB, free: 59.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2533, allocations: 52.67 kB / 0.5252 GB, free: 59.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=262): time 4.418e-06/0.2533, allocations: 3.938 kB / 0.5252 GB, free: 59.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=283): time 0.02295/0.2763, allocations: 20.62 MB / 0.5453 GB, free: 39.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2763, allocations: 77.41 kB / 0.5454 GB, free: 39.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.2785, allocations: 3.443 MB / 0.5488 GB, free: 35.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001309/0.2786, allocations: 66.56 kB / 0.5488 GB, free: 35.89 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.2793, allocations: 3.115 MB / 0.5519 GB, free: 32.79 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.2797, allocations: 1.05 MB / 0.5529 GB, free: 31.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000842/0.2805, allocations: 1.192 MB / 0.5541 GB, free: 30.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.663e-05/0.2805, allocations: 313.1 kB / 0.5544 GB, free: 30.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.2826, allocations: 2.858 MB / 0.5571 GB, free: 27.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.2853, allocations: 6.066 MB / 0.5631 GB, free: 19.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005195/0.2905, allocations: 9.721 MB / 0.5726 GB, free: 8.438 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.457e-05/0.2905, allocations: 32 kB / 0.5726 GB, free: 8.406 MB / 442.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.008998/0.2995, allocations: 10.08 MB / 0.5824 GB, free: 14.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.2996, allocations: 52 kB / 0.5825 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-05/0.2996, allocations: 115.9 kB / 0.5826 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/0.3016, allocations: 1.366 MB / 0.5839 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.304, allocations: 1.388 MB / 0.5853 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.3113, allocations: 7.635 MB / 0.5927 GB, free: 3.633 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.314, allocations: 427.6 kB / 0.5932 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00034/0.3143, allocations: 340 kB / 0.5935 GB, free: 2.883 MB / 458.7 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.002896/0.3172, allocations: 2.311 MB / 0.5957 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003038/0.3175, allocations: 325.7 kB / 0.596 GB, free: 248 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00738/0.3249, allocations: 6.612 MB / 0.6025 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.57e-05/0.3249, allocations: 51.98 kB / 0.6025 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.3249, allocations: 4.875 kB / 0.6026 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.325, allocations: 11.95 kB / 0.6026 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.3395, allocations: 13.45 MB / 0.6157 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.3395, allocations: 8 kB / 0.6157 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.3406, allocations: 451.3 kB / 0.6161 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.3427, allocations: 1.215 MB / 0.6173 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.3428, allocations: 55.92 kB / 0.6174 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005726/0.3486, allocations: 6.847 MB / 0.6241 GB, free: 3.176 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.3486, allocations: 15.97 kB / 0.6241 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009581/0.3581, allocations: 9.86 MB / 0.6337 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.3593, allocations: 0.7983 MB / 0.6345 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.3596, allocations: 49.34 kB / 0.6345 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009696/0.3605, allocations: 239.6 kB / 0.6348 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.3608, allocations: 173.5 kB / 0.6349 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.3609, allocations: 68 kB / 0.635 GB, free: 7.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001991/0.3629, allocations: 2.047 MB / 0.637 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3629, allocations: 0 / 0.637 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003062/0.366, allocations: 1.207 MB / 0.6382 GB, free: 4.566 MB / 0.4948 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.01001/0.376, allocations: 10.54 MB / 0.6485 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007844/0.3838, allocations: 6.704 MB / 0.655 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.3838, allocations: 0 / 0.655 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.3863, allocations: 2.647 MB / 0.6576 GB, free: 500 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.388, allocations: 424.9 kB / 0.658 GB, free: 92 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2111/0.5991, allocations: 49.87 MB / 0.7067 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.6018, allocations: 3.051 MB / 0.7097 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002952/0.6047, allocations: 2.22 MB / 0.7119 GB, free: 137.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/0.6063, allocations: 2.069 MB / 0.7139 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.442e-06/0.6063, allocations: 0 / 0.7139 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0625/0.6688, allocations: 72.68 MB / 0.7849 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.708/10.38, allocations: 3.375 kB / 0.7849 GB, free: 65.09 MB / 0.5105 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 12.4517581788823]