Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001281/0.001281, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.0015/0.0015, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.55/1.55, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2372/0.2372, allocations: 46.98 MB / 361.7 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 75.83 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 66.03 MB / 0.5614 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01505/0.3922, allocations: 11.63 MB / 0.5727 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008802/0.401, allocations: 4.017 MB / 0.5766 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.4023, allocations: 83.69 kB / 0.5767 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.4061, allocations: 1.927 MB / 0.5786 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.41, allocations: 1.954 MB / 0.5805 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.4113, allocations: 0.5536 MB / 0.5811 GB, free: 4 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005001/0.4163, allocations: 4.045 MB / 0.585 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002987/0.4193, allocations: 2.423 MB / 0.5874 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.4211, allocations: 1.464 MB / 0.5888 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.424, allocations: 2.207 MB / 0.591 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005835/0.4246, allocations: 304 kB / 0.5912 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.4265, allocations: 0.9244 MB / 0.5921 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.4282, allocations: 1.897 MB / 0.594 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.4301, allocations: 1.607 MB / 0.5956 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007959/0.4381, allocations: 7.36 MB / 0.6028 GB, free: 9.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.4381, allocations: 0 / 0.6028 GB, free: 9.656 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4381, allocations: 0 / 0.6028 GB, free: 9.656 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.4382, allocations: 0 / 0.6028 GB, free: 9.656 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.008845/0.447, allocations: 4.941 MB / 0.6076 GB, free: 4.656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4471, allocations: 12.03 kB / 0.6076 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001173/0.4472, allocations: 114.2 kB / 0.6077 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001019/0.4482, allocations: 0.8157 MB / 0.6085 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.4591, allocations: 3.172 MB / 0.6116 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004629/0.4637, allocations: 2.363 MB / 0.6139 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.4639, allocations: 242 kB / 0.6141 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006744/0.4646, allocations: 307.8 kB / 0.6144 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01987/0.4845, allocations: 12.08 MB / 0.6262 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.4846, allocations: 35.77 kB / 0.6263 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004582/0.485, allocations: 155.8 kB / 0.6264 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005178/0.4902, allocations: 2.835 MB / 0.6292 GB, free: 13.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/0.5135, allocations: 11.36 MB / 0.6403 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06343/0.577, allocations: 39.07 MB / 0.6784 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/0.5891, allocations: 4.897 MB / 0.6832 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004367/0.5935, allocations: 2.769 MB / 0.6859 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.5948, allocations: 0.5556 MB / 0.6864 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/0.5949, allocations: 60.44 kB / 0.6865 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 8.025e-06/0.5949, allocations: 0 / 0.6865 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.05276/0.6476, allocations: 20.04 MB / 0.7061 GB, free: 14.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/0.6477, allocations: 81.34 kB / 0.7062 GB, free: 13.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005686/0.6534, allocations: 3.032 MB / 0.7091 GB, free: 10.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002758/0.6537, allocations: 61.7 kB / 0.7092 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/0.6563, allocations: 3.112 MB / 0.7122 GB, free: 7.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/0.6575, allocations: 1.073 MB / 0.7133 GB, free: 6.617 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/0.6596, allocations: 1.191 MB / 0.7144 GB, free: 5.414 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6597, allocations: 305.1 kB / 0.7147 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004637/0.6644, allocations: 2.846 MB / 0.7175 GB, free: 2.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/0.6718, allocations: 6.022 MB / 0.7234 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3201/0.9919, allocations: 9.651 MB / 0.7328 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002731/0.9922, allocations: 31.66 kB / 0.7328 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.03227/1.024, allocations: 10.03 MB / 0.7426 GB, free: 150 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.025, allocations: 52.28 kB / 0.7427 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/1.025, allocations: 108.2 kB / 0.7428 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004972/1.03, allocations: 1.365 MB / 0.7441 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/1.037, allocations: 1.365 MB / 0.7454 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.05, allocations: 7.632 MB / 0.7529 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007237/1.057, allocations: 368.6 kB / 0.7533 GB, free: 145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/1.059, allocations: 335.6 kB / 0.7536 GB, free: 144.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,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 (718): * Single equations (assignments): 711 * 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.005871/1.065, allocations: 2.306 MB / 0.7558 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006452/1.066, allocations: 322.6 kB / 0.7561 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.077, allocations: 6.611 MB / 0.7626 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/1.077, allocations: 55.92 kB / 0.7626 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/1.077, allocations: 4 kB / 0.7626 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.077, allocations: 11.95 kB / 0.7627 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/1.103, allocations: 13.34 MB / 0.7757 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.103, allocations: 9.969 kB / 0.7757 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/1.106, allocations: 451.3 kB / 0.7761 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/1.11, allocations: 1.212 MB / 0.7773 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005614/1.11, allocations: 55.92 kB / 0.7774 GB, free: 121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009533/1.12, allocations: 6.856 MB / 0.7841 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/1.12, allocations: 15.97 kB / 0.7841 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/1.136, allocations: 9.864 MB / 0.7937 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/1.137, allocations: 289.9 kB / 0.794 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006746/1.138, allocations: 51.67 kB / 0.794 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/1.14, allocations: 199.6 kB / 0.7942 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/1.141, allocations: 165.6 kB / 0.7944 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/1.141, allocations: 75.98 kB / 0.7944 GB, free: 103.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003191/1.144, allocations: 1.874 MB / 0.7963 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 0 / 0.7963 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006161/1.15, allocations: 1.112 MB / 0.7974 GB, free: 100.4 MB / 0.5606 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.01622/1.166, allocations: 10.53 MB / 0.8077 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009431/1.176, allocations: 6.679 MB / 0.8142 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.176, allocations: 0 / 0.8142 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.179, allocations: 2.65 MB / 0.8168 GB, free: 80.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/1.182, allocations: 430.5 kB / 0.8172 GB, free: 79.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07077/1.253, allocations: 49.09 MB / 0.8651 GB, free: 25.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003096/1.256, allocations: 3.034 MB / 0.8681 GB, free: 22.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003899/1.26, allocations: 2.203 MB / 0.8702 GB, free: 20.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/1.262, allocations: 2.065 MB / 0.8722 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.262, allocations: 0 / 0.8722 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1859/1.448, allocations: 73.18 MB / 0.9437 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.46/26.91, allocations: 14.81 kB / 0.9437 GB, free: 10 MB / 0.6231 GB " [Timeout remaining time 633] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.984297484043054]