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.001644/0.001644, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001951/0.001951, allocations: 204.7 kB / 24.49 MB, free: 3.965 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.535/1.535, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.231/0.231, allocations: 46.96 MB / 361.6 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: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002126/0.002126, allocations: 63.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.382, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01635/0.3984, allocations: 11.73 MB / 0.5733 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01096/0.4093, allocations: 4.019 MB / 0.5772 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/0.412, allocations: 83.69 kB / 0.5773 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.4168, allocations: 1.919 MB / 0.5792 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007509/0.4243, allocations: 1.954 MB / 0.5811 GB, free: 380 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.4266, allocations: 0.5614 MB / 0.5816 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008847/0.4355, allocations: 4.042 MB / 0.5856 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004447/0.4399, allocations: 2.423 MB / 0.5879 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.4429, allocations: 1.468 MB / 0.5894 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004552/0.4475, allocations: 2.208 MB / 0.5915 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009963/0.4485, allocations: 308 kB / 0.5918 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.4512, allocations: 0.9128 MB / 0.5927 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002747/0.454, allocations: 1.901 MB / 0.5946 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002831/0.4568, allocations: 1.607 MB / 0.5961 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.4668, allocations: 7.351 MB / 0.6033 GB, free: 9.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4668, allocations: 3.938 kB / 0.6033 GB, free: 9.473 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4668, allocations: 0 / 0.6033 GB, free: 9.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002803/0.4671, allocations: 0 / 0.6033 GB, free: 9.473 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.0126/0.4797, allocations: 4.93 MB / 0.6081 GB, free: 4.484 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.4798, allocations: 8.031 kB / 0.6081 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.4911, allocations: 3.168 MB / 0.6112 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006428/0.4976, allocations: 2.14 MB / 0.6133 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/0.4979, allocations: 242.1 kB / 0.6136 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.4992, allocations: 311.9 kB / 0.6138 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02615/0.5254, allocations: 12.08 MB / 0.6256 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/0.5256, allocations: 35.7 kB / 0.6257 GB, free: 1.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/0.5266, allocations: 143.8 kB / 0.6258 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005308/0.5319, allocations: 2.835 MB / 0.6286 GB, free: 14.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.5558, allocations: 11.32 MB / 0.6396 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06696/0.6227, allocations: 37.89 MB / 0.6766 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01234/0.6351, allocations: 4.895 MB / 0.6814 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004511/0.6396, allocations: 2.765 MB / 0.6841 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/0.6409, allocations: 0.548 MB / 0.6847 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.805e-05/0.641, allocations: 60.55 kB / 0.6847 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=262): time 6.101e-06/0.641, allocations: 4 kB / 0.6847 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=283): time 0.0551/0.6961, allocations: 20.01 MB / 0.7043 GB, free: 320 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.6962, allocations: 77.39 kB / 0.7043 GB, free: 232 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/0.7005, allocations: 2.934 MB / 0.7072 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005748/0.701, allocations: 61.7 kB / 0.7073 GB, free: 13.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002453/0.7035, allocations: 3.131 MB / 0.7103 GB, free: 10.04 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/0.705, allocations: 1.073 MB / 0.7114 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001955/0.707, allocations: 1.195 MB / 0.7125 GB, free: 7.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7071, allocations: 305.1 kB / 0.7128 GB, free: 7.453 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/0.7118, allocations: 2.858 MB / 0.7156 GB, free: 4.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007848/0.7196, allocations: 6.026 MB / 0.7215 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01436/0.734, allocations: 9.677 MB / 0.7309 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001431/0.7341, allocations: 32 kB / 0.731 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.3293/1.063, allocations: 10.03 MB / 0.7408 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/1.064, allocations: 54 kB / 0.7408 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.064, allocations: 108.2 kB / 0.7409 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/1.067, allocations: 1.364 MB / 0.7423 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/1.071, allocations: 1.373 MB / 0.7436 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008861/1.08, allocations: 7.599 MB / 0.751 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/1.085, allocations: 362.7 kB / 0.7514 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/1.086, allocations: 346.9 kB / 0.7517 GB, free: 144.8 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 (722): * Single equations (assignments): 715 * 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.003654/1.09, allocations: 2.293 MB / 0.7539 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006043/1.09, allocations: 305.3 kB / 0.7542 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008994/1.099, allocations: 6.598 MB / 0.7607 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/1.099, allocations: 12.77 kB / 0.7607 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.099, allocations: 3.656 kB / 0.7607 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/1.1, allocations: 256.9 kB / 0.7609 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004015/1.1, allocations: 36 kB / 0.761 GB, free: 137 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.101, allocations: 187.7 kB / 0.7611 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003542/1.102, allocations: 161.7 kB / 0.7613 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008525/1.11, allocations: 5.989 MB / 0.7671 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008274/1.119, allocations: 8.46 MB / 0.7754 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002155/1.121, allocations: 2.194 MB / 0.7776 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00217/1.123, allocations: 1.66 MB / 0.7792 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of Backend: time 4.21e-07/1.123, allocations: 0 / 0.7792 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007989/1.131, allocations: 4.71 MB / 0.7838 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01342/1.144, allocations: 9.826 MB / 0.7934 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.0766/1.221, allocations: 57.08 MB / 0.8491 GB, free: 47.27 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 480] 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: 7.463124162000895]