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.001414/0.001414, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 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.001701/0.001701, allocations: 213.7 kB / 23.79 MB, free: 4.707 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.487/1.487, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.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.2358/0.2358, allocations: 44.24 MB / 331.1 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 71.89 kB / 468.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1249, allocations: 61.05 MB / 0.5169 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.0175/0.1424, allocations: 14.29 MB / 0.5309 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.1526, allocations: 4.339 MB / 0.5351 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.155, allocations: 79.75 kB / 0.5352 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004568/0.1596, allocations: 2.024 MB / 0.5372 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005093/0.1647, allocations: 1.973 MB / 0.5391 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2205/0.3852, allocations: 0.5557 MB / 0.5396 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00549/0.3907, allocations: 4.064 MB / 0.5436 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002933/0.3936, allocations: 2.451 MB / 0.546 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.3966, allocations: 1.503 MB / 0.5475 GB, free: 9.684 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.4001, allocations: 2.226 MB / 0.5496 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008171/0.4009, allocations: 306.2 kB / 0.5499 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002237/0.4032, allocations: 1.043 MB / 0.551 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.405, allocations: 1.931 MB / 0.5528 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002583/0.4076, allocations: 2.276 MB / 0.5551 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008787/0.4164, allocations: 7.42 MB / 0.5623 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4164, allocations: 3.719 kB / 0.5623 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4164, allocations: 0 / 0.5623 GB, free: 5.273 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.4166, allocations: 0.6875 kB / 0.5623 GB, free: 5.273 MB / 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.009869/0.4265, allocations: 4.992 MB / 0.5672 GB, free: 2.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4265, allocations: 9.625 kB / 0.5672 GB, free: 2.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001677/0.4267, allocations: 113.7 kB / 0.5673 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001214/0.4279, allocations: 0.8163 MB / 0.5681 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/0.4384, allocations: 3.18 MB / 0.5712 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00629/0.4447, allocations: 2.608 MB / 0.5738 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.4449, allocations: 241.4 kB / 0.574 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.4459, allocations: 307 kB / 0.5743 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/0.4661, allocations: 12.1 MB / 0.5861 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.4662, allocations: 29.38 kB / 0.5861 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005356/0.4667, allocations: 150.2 kB / 0.5863 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005126/0.4718, allocations: 2.839 MB / 0.589 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02183/0.4937, allocations: 11.38 MB / 0.6002 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06165/0.5553, allocations: 40.9 MB / 0.6401 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.5674, allocations: 4.913 MB / 0.6449 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00423/0.5717, allocations: 2.771 MB / 0.6476 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.5729, allocations: 0.5621 MB / 0.6481 GB, free: 8.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/0.573, allocations: 59.09 kB / 0.6482 GB, free: 8.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=262): time 4.348e-06/0.573, allocations: 0 / 0.6482 GB, free: 8.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=283): time 0.0494/0.6224, allocations: 20.02 MB / 0.6678 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.6224, allocations: 77.41 kB / 0.6678 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/0.6276, allocations: 3.073 MB / 0.6708 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.6279, allocations: 64.83 kB / 0.6709 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.6303, allocations: 3.143 MB / 0.674 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001171/0.6315, allocations: 1.065 MB / 0.675 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.6335, allocations: 1.209 MB / 0.6762 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6336, allocations: 301.1 kB / 0.6765 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004341/0.638, allocations: 2.85 MB / 0.6793 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007214/0.6452, allocations: 6.062 MB / 0.6852 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01433/0.6595, allocations: 9.711 MB / 0.6947 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001355/0.6597, allocations: 39.94 kB / 0.6947 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02262/0.6823, allocations: 10.06 MB / 0.7045 GB, free: 11.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.6824, allocations: 52 kB / 0.7046 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/0.6827, allocations: 113.2 kB / 0.7047 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003948/0.6866, allocations: 1.363 MB / 0.706 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005546/0.6922, allocations: 1.38 MB / 0.7074 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.7038, allocations: 7.706 MB / 0.7149 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/0.7088, allocations: 366.4 kB / 0.7152 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/0.7103, allocations: 351.9 kB / 0.7156 GB, free: 112 kB / 0.545 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.006764/0.717, allocations: 2.297 MB / 0.7178 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/0.7183, allocations: 321.8 kB / 0.7181 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/0.7324, allocations: 6.616 MB / 0.7246 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-05/0.7325, allocations: 58.02 kB / 0.7246 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/0.7325, allocations: 4 kB / 0.7246 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.052e-05/0.7326, allocations: 7.969 kB / 0.7246 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03279/0.7654, allocations: 13.86 MB / 0.7382 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/0.7654, allocations: 4 kB / 0.7382 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/0.7679, allocations: 455.3 kB / 0.7386 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/0.7715, allocations: 1.214 MB / 0.7398 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008673/0.7724, allocations: 55.98 kB / 0.7399 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.7829, allocations: 6.905 MB / 0.7466 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.7829, allocations: 15.94 kB / 0.7466 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01887/0.8018, allocations: 9.87 MB / 0.7563 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002923/0.8047, allocations: 0.7633 MB / 0.757 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/0.8061, allocations: 54.09 kB / 0.7571 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002771/0.8089, allocations: 191.7 kB / 0.7572 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/0.8099, allocations: 173.5 kB / 0.7574 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000617/0.8105, allocations: 79.47 kB / 0.7575 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004766/0.8153, allocations: 1.903 MB / 0.7593 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8153, allocations: 0 / 0.7593 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008006/0.8233, allocations: 1.129 MB / 0.7604 GB, free: 1.691 MB / 0.5919 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.2655/1.089, allocations: 10.53 MB / 0.7707 GB, free: 195.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.102, allocations: 6.69 MB / 0.7773 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/1.102, allocations: 1.406 kB / 0.7773 GB, free: 193.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00518/1.107, allocations: 2.651 MB / 0.7799 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/1.111, allocations: 418.4 kB / 0.7802 GB, free: 192 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07145/1.182, allocations: 49.41 MB / 0.8285 GB, free: 155.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004101/1.186, allocations: 3.585 MB / 0.832 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00417/1.19, allocations: 2.208 MB / 0.8342 GB, free: 150 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002793/1.193, allocations: 2.068 MB / 0.8362 GB, free: 147.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/1.193, allocations: 0 / 0.8362 GB, free: 147.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/1.3, allocations: 75.86 MB / 0.9103 GB, free: 72.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.42/26.72, allocations: 8.016 kB / 0.9103 GB, free: 72.09 MB / 0.5919 GB " [Timeout remaining time 633] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/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: 30.801238204992842]