Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001574/0.001574, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002049/0.002049, allocations: 210.5 kB / 23.73 MB, free: 4.523 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2246/0.2246, allocations: 46.96 MB / 360.9 MB, free: 4.125 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.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.91 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3402, allocations: 66.03 MB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01088/0.3511, allocations: 8.375 MB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007806/0.3589, allocations: 3.61 MB / 0.5723 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.3601, allocations: 63.69 kB / 0.5724 GB, free: 8.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.3644, allocations: 2.227 MB / 0.5745 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00403/0.3684, allocations: 1.658 MB / 0.5762 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3699, allocations: 0.6979 MB / 0.5768 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005729/0.3757, allocations: 3.806 MB / 0.5806 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.3788, allocations: 2.316 MB / 0.5828 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002247/0.381, allocations: 1.316 MB / 0.5841 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.384, allocations: 1.857 MB / 0.5859 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007009/0.3847, allocations: 284 kB / 0.5862 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.3869, allocations: 1.073 MB / 0.5872 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001825/0.3887, allocations: 1.628 MB / 0.5888 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001744/0.3905, allocations: 1.382 MB / 0.5902 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007064/0.3975, allocations: 6.327 MB / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3975, allocations: 0 / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3975, allocations: 0 / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001326/0.3977, allocations: 0 / 0.5963 GB, free: 15.45 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.009588/0.4073, allocations: 4.268 MB / 0.6005 GB, free: 11.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.4073, allocations: 12.03 kB / 0.6005 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009533/0.4083, allocations: 0.6082 MB / 0.6011 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02054/0.4288, allocations: 3.774 MB / 0.6048 GB, free: 6.711 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006747/0.4356, allocations: 2.478 MB / 0.6072 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.4358, allocations: 193.3 kB / 0.6074 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/0.4368, allocations: 263.8 kB / 0.6077 GB, free: 3.727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01499/0.4518, allocations: 8.547 MB / 0.616 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.4519, allocations: 47.62 kB / 0.6161 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/0.4522, allocations: 123.9 kB / 0.6162 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003058/0.4553, allocations: 1.731 MB / 0.6179 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0141/0.4694, allocations: 7.416 MB / 0.6251 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0446/0.514, allocations: 32.46 MB / 0.6568 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006684/0.5207, allocations: 2.454 MB / 0.6592 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.5229, allocations: 1.708 MB / 0.6609 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.5232, allocations: 92.59 kB / 0.661 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.318e-05/0.5233, allocations: 47.22 kB / 0.661 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.789e-06/0.5233, allocations: 0 / 0.661 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03613/0.5594, allocations: 14.31 MB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.5595, allocations: 179.1 kB / 0.6752 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.565, allocations: 3.719 MB / 0.6788 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000408/0.5654, allocations: 45.7 kB / 0.6788 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/0.5677, allocations: 2.769 MB / 0.6815 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000835/0.5685, allocations: 0.628 MB / 0.6821 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/0.57, allocations: 1.068 MB / 0.6832 GB, free: 4.582 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.5702, allocations: 301.1 kB / 0.6835 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.5732, allocations: 2.013 MB / 0.6854 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00599/0.5792, allocations: 5.247 MB / 0.6906 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009975/0.5892, allocations: 7.851 MB / 0.6982 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001064/0.5893, allocations: 32 kB / 0.6983 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01424/0.6035, allocations: 7.804 MB / 0.7059 GB, free: 10.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-05/0.6036, allocations: 52.28 kB / 0.7059 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.6037, allocations: 112 kB / 0.706 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/0.6061, allocations: 0.9686 MB / 0.707 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/0.61, allocations: 1.189 MB / 0.7081 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009443/0.6194, allocations: 6.752 MB / 0.7147 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004613/0.624, allocations: 299.7 kB / 0.715 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009746/0.625, allocations: 320 kB / 0.7153 GB, free: 328 kB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,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 (630): * Single equations (assignments): 626 * 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.003663/0.6287, allocations: 1.844 MB / 0.7171 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000859/0.6295, allocations: 321.8 kB / 0.7174 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006029/0.6356, allocations: 3.186 MB / 0.7205 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/0.6356, allocations: 19.98 kB / 0.7206 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.6356, allocations: 4 kB / 0.7206 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.6356, allocations: 7.984 kB / 0.7206 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01447/0.6501, allocations: 7.43 MB / 0.7278 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.6501, allocations: 0 / 0.7278 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6513, allocations: 235.6 kB / 0.7281 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/0.6536, allocations: 0.8085 MB / 0.7289 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/0.6537, allocations: 24 kB / 0.7289 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2748/0.9285, allocations: 6.324 MB / 0.735 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9285, allocations: 0.75 kB / 0.735 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006927/0.9355, allocations: 5.832 MB / 0.7407 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/0.9362, allocations: 297.8 kB / 0.741 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.9365, allocations: 23.25 kB / 0.7411 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9376, allocations: 96.81 kB / 0.7411 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/0.9379, allocations: 94.09 kB / 0.7412 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.938, allocations: 39.28 kB / 0.7413 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002767/0.9408, allocations: 2.206 MB / 0.7434 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9408, allocations: 1.781 kB / 0.7434 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004162/0.9449, allocations: 0.8575 MB / 0.7443 GB, free: 149 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 (115): * Single equations (assignments): 111 * 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.007432/0.9524, allocations: 6.462 MB / 0.7506 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005992/0.9584, allocations: 4.698 MB / 0.7552 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.9584, allocations: 2.5 kB / 0.7552 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/0.9605, allocations: 1.658 MB / 0.7568 GB, free: 139.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.9626, allocations: 393.5 kB / 0.7572 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/1.007, allocations: 40.88 MB / 0.7971 GB, free: 94.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002166/1.009, allocations: 2.338 MB / 0.7994 GB, free: 92.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003145/1.013, allocations: 1.707 MB / 0.801 GB, free: 90.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.014, allocations: 1.546 MB / 0.8025 GB, free: 88.88 MB / 0.5606 GB Notification: Performance of SimCode: time 1.703e-06/1.014, allocations: 4 kB / 0.8025 GB, free: 88.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.115, allocations: 65.61 MB / 0.8666 GB, free: 23.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.36/16.47, allocations: 7.984 kB / 0.8666 GB, free: 23.98 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 20.030367389001185]