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.001688/0.001688, allocations: 83.03 kB / 20.52 MB, free: 1.277 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.001642/0.001642, allocations: 168.4 kB / 23.76 MB, free: 4.461 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.52/1.52, allocations: 158.6 MB / 185.5 MB, free: 6.207 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.2486/0.2486, allocations: 32.37 MB / 270.1 MB, free: 2.699 MB / 254.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.002318/0.002318, allocations: 71.91 kB / 407.8 MB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1446, allocations: 61.03 MB / 468.8 MB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.3034/0.4479, allocations: 9.003 MB / 477.8 MB, free: 43.88 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.4584, allocations: 3.727 MB / 481.5 MB, free: 43.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4606, allocations: 69.38 kB / 481.6 MB, free: 43.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004173/0.4648, allocations: 2.264 MB / 483.9 MB, free: 43.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.4699, allocations: 1.784 MB / 485.6 MB, free: 42.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.4716, allocations: 0.7035 MB / 486.4 MB, free: 42.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.4764, allocations: 3.823 MB / 490.2 MB, free: 41.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002515/0.4789, allocations: 2.413 MB / 492.6 MB, free: 40.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.4809, allocations: 1.395 MB / 494 MB, free: 39.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/0.4835, allocations: 1.915 MB / 495.9 MB, free: 38.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008803/0.4844, allocations: 306.3 kB / 496.2 MB, free: 38.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002389/0.4868, allocations: 1.083 MB / 497.3 MB, free: 38.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.4882, allocations: 1.762 MB / 499 MB, free: 37.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.4898, allocations: 1.483 MB / 0.4888 GB, free: 36.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008412/0.4982, allocations: 6.793 MB / 0.4954 GB, free: 34.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.4982, allocations: 0 / 0.4954 GB, free: 34.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4982, allocations: 0 / 0.4954 GB, free: 34.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003283/0.4985, allocations: 9.125 kB / 0.4954 GB, free: 34.47 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01534/0.5139, allocations: 4.45 MB / 0.4998 GB, free: 31.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.5139, allocations: 13.53 kB / 0.4998 GB, free: 31.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.5243, allocations: 2.143 MB / 0.5019 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008025/0.5323, allocations: 2.45 MB / 0.5043 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.5326, allocations: 212.5 kB / 0.5045 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001393/0.534, allocations: 278.2 kB / 0.5047 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.5545, allocations: 9.302 MB / 0.5138 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000158/0.5546, allocations: 43.7 kB / 0.5139 GB, free: 25.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005109/0.5551, allocations: 127.7 kB / 0.514 GB, free: 25.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004755/0.5599, allocations: 1.923 MB / 0.5159 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.5869, allocations: 8.131 MB / 0.5238 GB, free: 20.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07738/0.6643, allocations: 33.96 MB / 0.557 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01682/0.6811, allocations: 3.152 MB / 0.5601 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006099/0.6872, allocations: 1.916 MB / 0.5619 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/0.6879, allocations: 96.94 kB / 0.562 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/0.688, allocations: 47.56 kB / 0.5621 GB, free: 12.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=156): time 1.221e-05/0.688, allocations: 4 kB / 0.5621 GB, free: 12.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=177): time 0.06984/0.7578, allocations: 16.55 MB / 0.5782 GB, free: 12.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.758, allocations: 175.2 kB / 0.5784 GB, free: 11.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008645/0.7666, allocations: 3.381 MB / 0.5817 GB, free: 8.461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007449/0.7674, allocations: 49.7 kB / 0.5817 GB, free: 8.406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003856/0.7712, allocations: 2.95 MB / 0.5846 GB, free: 5.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001675/0.7729, allocations: 0.7055 MB / 0.5853 GB, free: 4.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00317/0.7761, allocations: 1.163 MB / 0.5865 GB, free: 3.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.7763, allocations: 309 kB / 0.5867 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006568/0.7828, allocations: 2.291 MB / 0.589 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01198/0.7948, allocations: 5.668 MB / 0.5945 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/0.8116, allocations: 8.549 MB / 0.6029 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00014/0.8118, allocations: 36 kB / 0.6029 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=738) (initialization): time 0.0207/0.8324, allocations: 8.733 MB / 0.6114 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.8326, allocations: 59.94 kB / 0.6115 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001602/0.8327, allocations: 120 kB / 0.6116 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.8361, allocations: 1.227 MB / 0.6128 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005064/0.8412, allocations: 1.298 MB / 0.6141 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.8528, allocations: 7.478 MB / 0.6214 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005686/0.8585, allocations: 331.5 kB / 0.6217 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/0.8602, allocations: 352 kB / 0.622 GB, free: 11.66 MB / 0.5294 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.004886/0.8651, allocations: 1.969 MB / 0.6239 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/0.8661, allocations: 302 kB / 0.6242 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00827/0.8743, allocations: 3.883 MB / 0.628 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.721e-05/0.8744, allocations: 20 kB / 0.628 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.8744, allocations: 4 kB / 0.628 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.8744, allocations: 11.97 kB / 0.6281 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/0.8939, allocations: 7.867 MB / 0.6357 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/0.8939, allocations: 0 / 0.6357 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/0.8955, allocations: 271.6 kB / 0.636 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/0.8986, allocations: 1.072 MB / 0.637 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/0.899, allocations: 32 kB / 0.6371 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01084/0.9098, allocations: 7.054 MB / 0.644 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9098, allocations: 3.938 kB / 0.644 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.9221, allocations: 6.813 MB / 0.6506 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002166/0.9243, allocations: 0.5759 MB / 0.6512 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/0.9249, allocations: 24 kB / 0.6512 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.9264, allocations: 119.8 kB / 0.6513 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.9267, allocations: 104.8 kB / 0.6514 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.9269, allocations: 48 kB / 0.6515 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00358/0.9305, allocations: 1.946 MB / 0.6534 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.9305, allocations: 0 / 0.6534 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007672/0.9382, allocations: 0.9647 MB / 0.6543 GB, free: 10.38 MB / 0.5606 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.0005682/0.9387, allocations: 150.9 kB / 0.6545 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01109/0.9498, allocations: 5.25 MB / 0.6596 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.9498, allocations: 4.125 kB / 0.6596 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.9538, allocations: 1.9 MB / 0.6614 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.9565, allocations: 337.8 kB / 0.6618 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.9756, allocations: 9.107 MB / 0.6707 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004253/0.9798, allocations: 2.521 MB / 0.6731 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004791/0.9846, allocations: 1.76 MB / 0.6748 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008461/0.9855, allocations: 212.4 kB / 0.675 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.9855, allocations: 3.938 kB / 0.675 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of Templates: time 0.3882/1.374, allocations: 32.33 MB / 0.7066 GB, free: 186.6 MB / 0.5919 GB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/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: 7.731746579054743]