Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.002185/0.002185, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002317/0.002317, allocations: 215.7 kB / 22.99 MB, free: 4.602 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.67/1.67, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.3706/0.3706, allocations: 44.28 MB / 330.3 MB, free: 9.301 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: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [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.002472/0.002472, allocations: 67.89 kB / 468 MB, free: 3.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1833, allocations: 61.05 MB / 0.5167 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01348/0.1968, allocations: 9 MB / 0.5254 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01145/0.2082, allocations: 3.72 MB / 0.5291 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.2108, allocations: 67.69 kB / 0.5291 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00575/0.2166, allocations: 2.27 MB / 0.5314 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007413/0.224, allocations: 1.79 MB / 0.5331 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.2267, allocations: 0.7057 MB / 0.5338 GB, free: 5.031 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009589/0.2363, allocations: 3.802 MB / 0.5375 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4103/0.6466, allocations: 2.411 MB / 0.5399 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003848/0.6505, allocations: 1.4 MB / 0.5412 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.6559, allocations: 1.908 MB / 0.5431 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001276/0.6572, allocations: 306.4 kB / 0.5434 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.6605, allocations: 1.08 MB / 0.5444 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002622/0.6631, allocations: 1.761 MB / 0.5462 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003562/0.6667, allocations: 1.479 MB / 0.5476 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0155/0.6822, allocations: 6.797 MB / 0.5542 GB, free: 9.367 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.6822, allocations: 1.344 kB / 0.5542 GB, free: 9.367 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6822, allocations: 1.031 kB / 0.5542 GB, free: 9.367 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003788/0.6826, allocations: 0 / 0.5542 GB, free: 9.367 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.02073/0.7033, allocations: 4.468 MB / 0.5586 GB, free: 7.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.233e-05/0.7034, allocations: 9.438 kB / 0.5586 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0103/0.7137, allocations: 2.083 MB / 0.5607 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009658/0.7234, allocations: 2.443 MB / 0.563 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/0.7237, allocations: 205.2 kB / 0.5632 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.7257, allocations: 284.2 kB / 0.5635 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02321/0.7489, allocations: 9.306 MB / 0.5726 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.7491, allocations: 42.55 kB / 0.5726 GB, free: 344 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005144/0.7496, allocations: 135.8 kB / 0.5728 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003789/0.7534, allocations: 1.917 MB / 0.5746 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.7745, allocations: 8.141 MB / 0.5826 GB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06388/0.8383, allocations: 33.87 MB / 0.6157 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008732/0.8471, allocations: 3.076 MB / 0.6187 GB, free: 7.453 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/0.8502, allocations: 1.926 MB / 0.6205 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003459/0.8506, allocations: 100.1 kB / 0.6206 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.8506, allocations: 50.75 kB / 0.6207 GB, free: 5.371 MB / 462.1 MB Notification: Performance of pre-optimization done (n=156): time 5.23e-06/0.8506, allocations: 0 / 0.6207 GB, free: 5.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=177): time 0.04504/0.8957, allocations: 16.27 MB / 0.6366 GB, free: 5.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.8958, allocations: 175.2 kB / 0.6367 GB, free: 4.895 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/0.9027, allocations: 3.377 MB / 0.64 GB, free: 1.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009715/0.9037, allocations: 53.7 kB / 0.6401 GB, free: 1.441 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/0.9066, allocations: 2.944 MB / 0.643 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001539/0.9082, allocations: 0.7133 MB / 0.6437 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002158/0.9103, allocations: 1.163 MB / 0.6448 GB, free: 12.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.9105, allocations: 308.7 kB / 0.6451 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/0.9145, allocations: 2.291 MB / 0.6473 GB, free: 10.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007363/0.9219, allocations: 5.665 MB / 0.6529 GB, free: 2.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/0.9365, allocations: 8.555 MB / 0.6612 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/0.9367, allocations: 35.94 kB / 0.6613 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02308/0.9598, allocations: 8.729 MB / 0.6698 GB, free: 88 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.96, allocations: 56 kB / 0.6698 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003294/0.9603, allocations: 116 kB / 0.6699 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/0.964, allocations: 1.23 MB / 0.6711 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006048/0.97, allocations: 1.294 MB / 0.6724 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01249/0.9825, allocations: 7.492 MB / 0.6797 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007198/0.9897, allocations: 339.6 kB / 0.68 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002022/0.9917, allocations: 340 kB / 0.6804 GB, free: 5.129 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 686 * Array equations: 3 * 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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007183/0.9989, allocations: 1.975 MB / 0.6823 GB, free: 3.145 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1, allocations: 294 kB / 0.6826 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009974/1.01, allocations: 3.882 MB / 0.6864 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.345e-05/1.01, allocations: 16 kB / 0.6864 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.001e-05/1.01, allocations: 12 kB / 0.6864 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-05/1.01, allocations: 9.469 kB / 0.6864 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/1.034, allocations: 7.834 MB / 0.6941 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.034, allocations: 4 kB / 0.6941 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.036, allocations: 267.6 kB / 0.6943 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003173/1.039, allocations: 1.064 MB / 0.6954 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00037/1.039, allocations: 34.64 kB / 0.6954 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.051, allocations: 7.057 MB / 0.7023 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.051, allocations: 8 kB / 0.7023 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.066, allocations: 6.825 MB / 0.709 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003/1.069, allocations: 0.572 MB / 0.7095 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.07, allocations: 28 kB / 0.7095 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002496/1.072, allocations: 115.8 kB / 0.7096 GB, free: 7.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005125/1.073, allocations: 104.8 kB / 0.7097 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/1.073, allocations: 47.98 kB / 0.7098 GB, free: 6.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005886/1.079, allocations: 1.942 MB / 0.7117 GB, free: 4.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.079, allocations: 0 / 0.7117 GB, free: 4.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009077/1.088, allocations: 0.9715 MB / 0.7126 GB, free: 3.945 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (137): * Single equations (assignments): 133 * Array equations: 3 * 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,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001075/1.089, allocations: 158.9 kB / 0.7128 GB, free: 3.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.102, allocations: 5.253 MB / 0.7179 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.102, allocations: 0 / 0.7179 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004871/1.107, allocations: 1.897 MB / 0.7198 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004891/1.112, allocations: 351.3 kB / 0.7201 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/1.138, allocations: 9.086 MB / 0.729 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/1.143, allocations: 2.525 MB / 0.7314 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004987/1.148, allocations: 1.764 MB / 0.7332 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008015/1.149, allocations: 215.4 kB / 0.7334 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/1.149, allocations: 0 / 0.7334 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of Templates: time 0.4289/1.578, allocations: 36.45 MB / 0.769 GB, free: 197.9 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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: 8.335122438147664]