Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001603/0.001603, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002262/0.002262, allocations: 213.2 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2381/0.2381, allocations: 46.95 MB / 360.8 MB, free: 3.906 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 83.88 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3309, allocations: 66.07 MB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.0113/0.3422, allocations: 8.367 MB / 0.5689 GB, free: 11.58 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00787/0.3501, allocations: 3.612 MB / 0.5724 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.3516, allocations: 63.69 kB / 0.5725 GB, free: 7.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004699/0.3563, allocations: 2.235 MB / 0.5746 GB, free: 5.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.3607, allocations: 1.65 MB / 0.5763 GB, free: 4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3625, allocations: 0.7018 MB / 0.5769 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.3681, allocations: 3.805 MB / 0.5807 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003251/0.3714, allocations: 2.3 MB / 0.5829 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.3737, allocations: 1.312 MB / 0.5842 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002743/0.3765, allocations: 1.764 MB / 0.5859 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007205/0.3772, allocations: 280 kB / 0.5862 GB, free: 9.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.3794, allocations: 1.061 MB / 0.5872 GB, free: 8.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.3812, allocations: 1.62 MB / 0.5888 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.383, allocations: 1.39 MB / 0.5901 GB, free: 5.684 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007987/0.391, allocations: 6.323 MB / 0.5963 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.391, allocations: 0 / 0.5963 GB, free: 15.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.391, allocations: 0 / 0.5963 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000137/0.3912, allocations: 4 kB / 0.5963 GB, free: 15.33 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.01019/0.4014, allocations: 4.272 MB / 0.6005 GB, free: 11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.4014, allocations: 12.03 kB / 0.6005 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009977/0.4024, allocations: 0.6082 MB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.4237, allocations: 3.762 MB / 0.6048 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006757/0.4304, allocations: 2.478 MB / 0.6072 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002167/0.4307, allocations: 193.3 kB / 0.6074 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.4317, allocations: 263.8 kB / 0.6076 GB, free: 3.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01584/0.4475, allocations: 8.547 MB / 0.616 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001259/0.4476, allocations: 43.69 kB / 0.616 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003539/0.448, allocations: 123.9 kB / 0.6161 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003339/0.4513, allocations: 1.739 MB / 0.6178 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01478/0.4661, allocations: 7.42 MB / 0.6251 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04554/0.5117, allocations: 32.46 MB / 0.6568 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006822/0.5185, allocations: 2.45 MB / 0.6592 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002571/0.521, allocations: 1.702 MB / 0.6608 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002981/0.5213, allocations: 96.5 kB / 0.6609 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.5214, allocations: 55.2 kB / 0.661 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.967e-06/0.5214, allocations: 4 kB / 0.661 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03939/0.5608, allocations: 14.3 MB / 0.675 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002131/0.561, allocations: 167.2 kB / 0.6751 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005419/0.5664, allocations: 3.723 MB / 0.6788 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003088/0.5667, allocations: 45.7 kB / 0.6788 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002572/0.5693, allocations: 2.769 MB / 0.6815 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/0.5703, allocations: 0.628 MB / 0.6821 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.5719, allocations: 1.072 MB / 0.6832 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5721, allocations: 301.1 kB / 0.6834 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/0.5754, allocations: 2.013 MB / 0.6854 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006849/0.5822, allocations: 5.247 MB / 0.6905 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.5934, allocations: 7.846 MB / 0.6982 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.5935, allocations: 32 kB / 0.6982 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01646/0.61, allocations: 7.811 MB / 0.7059 GB, free: 9.996 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/0.6101, allocations: 52 kB / 0.7059 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/0.6103, allocations: 115.9 kB / 0.706 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.6129, allocations: 0.9695 MB / 0.707 GB, free: 8.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/0.6172, allocations: 1.185 MB / 0.7081 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/0.6273, allocations: 6.746 MB / 0.7147 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/0.631, allocations: 295.6 kB / 0.715 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006714/0.6317, allocations: 324 kB / 0.7153 GB, free: 212 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.003141/0.6348, allocations: 1.853 MB / 0.7171 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/0.6355, allocations: 325.8 kB / 0.7174 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006221/0.6417, allocations: 3.182 MB / 0.7205 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-05/0.6418, allocations: 16 kB / 0.7205 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6418, allocations: 8 kB / 0.7206 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.6418, allocations: 11.97 kB / 0.7206 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.6574, allocations: 7.427 MB / 0.7278 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/0.6574, allocations: 0 / 0.7278 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00124/0.6586, allocations: 231.6 kB / 0.728 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002283/0.6609, allocations: 0.8085 MB / 0.7288 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001651/0.6611, allocations: 27.94 kB / 0.7289 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2839/0.9449, allocations: 6.313 MB / 0.735 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.945, allocations: 4.625 kB / 0.735 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007393/0.9523, allocations: 5.83 MB / 0.7407 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009943/0.9533, allocations: 294.8 kB / 0.741 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.9537, allocations: 23.06 kB / 0.741 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.955, allocations: 98.08 kB / 0.7411 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.9553, allocations: 90.53 kB / 0.7412 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.9554, allocations: 37.78 kB / 0.7412 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003219/0.9586, allocations: 2.211 MB / 0.7434 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9586, allocations: 0 / 0.7434 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004514/0.9631, allocations: 0.8634 MB / 0.7442 GB, free: 148.8 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.007596/0.9707, allocations: 6.454 MB / 0.7505 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006446/0.9772, allocations: 4.702 MB / 0.7551 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9772, allocations: 0 / 0.7551 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002289/0.9795, allocations: 1.663 MB / 0.7568 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.9818, allocations: 391 kB / 0.7571 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04918/1.031, allocations: 40.89 MB / 0.7971 GB, free: 94.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002231/1.033, allocations: 2.33 MB / 0.7993 GB, free: 91.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003127/1.036, allocations: 1.711 MB / 0.801 GB, free: 90.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/1.038, allocations: 1.554 MB / 0.8025 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of SimCode: time 1.502e-06/1.038, allocations: 3.938 kB / 0.8025 GB, free: 88.56 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.139, allocations: 63.25 MB / 0.8643 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/16.54, allocations: 4 kB / 0.8643 GB, free: 25.91 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.045725777745247]