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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.549/1.549, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.1 MB " [Timeout remaining time 178] 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.3683/0.3683, allocations: 44.23 MB / 326.5 MB, free: 6.812 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 75.89 kB / 462.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3127, allocations: 61 MB / 0.5109 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01182/0.3245, allocations: 14.28 MB / 0.5249 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009498/0.334, allocations: 4.307 MB / 0.5291 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.3358, allocations: 75.88 kB / 0.5291 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00398/0.3398, allocations: 2.001 MB / 0.5311 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.3457, allocations: 1.968 MB / 0.533 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.3475, allocations: 0.5576 MB / 0.5336 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007113/0.3546, allocations: 4.068 MB / 0.5375 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004314/0.359, allocations: 2.487 MB / 0.54 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.3624, allocations: 1.479 MB / 0.5414 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.3667, allocations: 2.231 MB / 0.5436 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00128/0.368, allocations: 308 kB / 0.5439 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003057/0.371, allocations: 1.041 MB / 0.5449 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002798/0.3738, allocations: 1.924 MB / 0.5468 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004379/0.3782, allocations: 2.275 MB / 0.549 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.3886, allocations: 7.425 MB / 0.5562 GB, free: 388 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3886, allocations: 0 / 0.5562 GB, free: 388 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3886, allocations: 0 / 0.5562 GB, free: 388 kB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.3889, allocations: 0 / 0.5562 GB, free: 388 kB / 414.1 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.01004/0.3989, allocations: 5.063 MB / 0.5612 GB, free: 11.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.399, allocations: 11.89 kB / 0.5612 GB, free: 11.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001471/0.4004, allocations: 0.8197 MB / 0.562 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4112, allocations: 3.176 MB / 0.5651 GB, free: 7.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006787/0.418, allocations: 2.673 MB / 0.5677 GB, free: 4.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.4182, allocations: 242.3 kB / 0.5679 GB, free: 4.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009423/0.4191, allocations: 311.7 kB / 0.5682 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02199/0.4411, allocations: 12.09 MB / 0.5801 GB, free: 7.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.4413, allocations: 43.69 kB / 0.5801 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.4417, allocations: 147.8 kB / 0.5802 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00473/0.4464, allocations: 2.832 MB / 0.583 GB, free: 4.297 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02233/0.4687, allocations: 11.38 MB / 0.5941 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06548/0.5342, allocations: 41.04 MB / 0.6342 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.5459, allocations: 5.832 MB / 0.6399 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004106/0.55, allocations: 2.756 MB / 0.6426 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002279/0.5523, allocations: 1.884 MB / 0.6444 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.582e-05/0.5523, allocations: 52.56 kB / 0.6445 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 5.75e-06/0.5523, allocations: 0 / 0.6445 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.3103/0.8626, allocations: 20.24 MB / 0.6642 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.8626, allocations: 77.81 kB / 0.6643 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.8665, allocations: 3.072 MB / 0.6673 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005002/0.867, allocations: 68.58 kB / 0.6674 GB, free: 114.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.8684, allocations: 3.137 MB / 0.6704 GB, free: 112.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009704/0.8694, allocations: 1.065 MB / 0.6715 GB, free: 111.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.8707, allocations: 1.209 MB / 0.6727 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.8708, allocations: 305.1 kB / 0.6729 GB, free: 110.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/0.874, allocations: 2.852 MB / 0.6757 GB, free: 110 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/0.8785, allocations: 6.063 MB / 0.6817 GB, free: 102.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009407/0.8879, allocations: 9.714 MB / 0.6911 GB, free: 91.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.447e-05/0.888, allocations: 35.94 kB / 0.6912 GB, free: 91.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02016/0.9081, allocations: 10.07 MB / 0.701 GB, free: 81.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.9083, allocations: 52 kB / 0.7011 GB, free: 81.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000148/0.9084, allocations: 112 kB / 0.7012 GB, free: 81.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.9116, allocations: 1.359 MB / 0.7025 GB, free: 79.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004589/0.9162, allocations: 1.38 MB / 0.7038 GB, free: 78.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008322/0.9245, allocations: 7.806 MB / 0.7115 GB, free: 70.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/0.9291, allocations: 371.7 kB / 0.7118 GB, free: 70.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.9301, allocations: 344 kB / 0.7121 GB, free: 69.75 MB / 0.4981 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.004256/0.9344, allocations: 2.301 MB / 0.7144 GB, free: 67.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008753/0.9353, allocations: 329.7 kB / 0.7147 GB, free: 67.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.9455, allocations: 6.608 MB / 0.7212 GB, free: 60.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.934e-05/0.9455, allocations: 51.98 kB / 0.7212 GB, free: 60.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.166e-05/0.9456, allocations: 7.938 kB / 0.7212 GB, free: 60.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.743e-05/0.9456, allocations: 11.95 kB / 0.7212 GB, free: 60.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02406/0.9696, allocations: 13.88 MB / 0.7348 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/0.9697, allocations: 8 kB / 0.7348 GB, free: 46.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/0.9716, allocations: 459.3 kB / 0.7352 GB, free: 45.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/0.9744, allocations: 1.213 MB / 0.7364 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003273/0.9748, allocations: 51.42 kB / 0.7365 GB, free: 44.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007151/0.9819, allocations: 7.016 MB / 0.7433 GB, free: 37.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.9819, allocations: 15.55 kB / 0.7433 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/0.9945, allocations: 9.872 MB / 0.753 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/0.9971, allocations: 0.8385 MB / 0.7538 GB, free: 26.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008994/0.998, allocations: 48 kB / 0.7538 GB, free: 26.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1, allocations: 199.2 kB / 0.754 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/1.001, allocations: 165.6 kB / 0.7542 GB, free: 26.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002381/1.001, allocations: 75.98 kB / 0.7543 GB, free: 26.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003744/1.005, allocations: 1.899 MB / 0.7561 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.005, allocations: 0 / 0.7561 GB, free: 24.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006466/1.011, allocations: 1.136 MB / 0.7572 GB, free: 23.1 MB / 0.4981 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.01402/1.025, allocations: 10.54 MB / 0.7675 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009443/1.034, allocations: 6.691 MB / 0.774 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.387e-05/1.034, allocations: 4 kB / 0.774 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/1.038, allocations: 2.653 MB / 0.7766 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.042, allocations: 416.4 kB / 0.777 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09688/1.139, allocations: 49.27 MB / 0.8251 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007273/1.146, allocations: 3.587 MB / 0.8287 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00645/1.152, allocations: 2.208 MB / 0.8308 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004558/1.157, allocations: 2.061 MB / 0.8328 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.723e-06/1.157, allocations: 0 / 0.8328 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4293/1.586, allocations: 70.71 MB / 0.9019 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.92/24.51, allocations: 0 / 0.9019 GB, free: 212.5 MB / 0.6075 GB " [Timeout remaining time 635] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 28.044127451255918]