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.001253/0.001253, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001119/0.001119, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8938/0.8938, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1388/0.1388, allocations: 32.36 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/1.994e-05, allocations: 10.08 kB / 406.9 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007097/0.007117, allocations: 9.016 MB / 415.9 MB, free: 9.164 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.01314, allocations: 3.719 MB / 419.6 MB, free: 5.434 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.01427, allocations: 67.69 kB / 419.7 MB, free: 5.367 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.01656, allocations: 2.382 MB / 422 MB, free: 2.977 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.01911, allocations: 1.839 MB / 423.9 MB, free: 1.129 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009224/0.02004, allocations: 0.7522 MB / 424.6 MB, free: 384 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003258/0.02329, allocations: 4.19 MB / 428.8 MB, free: 12.17 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.02532, allocations: 2.686 MB / 431.5 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.02742, allocations: 2.113 MB / 433.6 MB, free: 7.316 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.02983, allocations: 1.995 MB / 435.6 MB, free: 5.316 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006873/0.03051, allocations: 312 kB / 435.9 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.03199, allocations: 1.147 MB / 437.1 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.03324, allocations: 1.846 MB / 438.9 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.03462, allocations: 1.184 MB / 440.1 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005322/0.03994, allocations: 6.924 MB / 447 MB, free: 9.879 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.03994, allocations: 0 / 447 MB, free: 9.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.03995, allocations: 0 / 447 MB, free: 9.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001931/0.04014, allocations: 0 / 447 MB, free: 9.879 MB / 426.7 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.006918/0.04706, allocations: 4.581 MB / 451.6 MB, free: 5.242 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.0471, allocations: 12.03 kB / 451.6 MB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006471/0.04775, allocations: 0.658 MB / 452.3 MB, free: 4.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/0.05861, allocations: 4.047 MB / 456.3 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.06343, allocations: 2.568 MB / 458.9 MB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.06361, allocations: 205.6 kB / 459.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.0648, allocations: 288.1 kB / 459.4 MB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01415/0.07896, allocations: 9.242 MB / 468.6 MB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001219/0.07908, allocations: 39.64 kB / 468.6 MB, free: 3.488 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004204/0.0795, allocations: 139.9 kB / 468.8 MB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.08174, allocations: 1.923 MB / 470.7 MB, free: 1.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1817/0.2634, allocations: 7.986 MB / 478.7 MB, free: 91.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02488/0.2883, allocations: 34.65 MB / 0.5013 GB, free: 67.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005448/0.2938, allocations: 3.089 MB / 0.5043 GB, free: 66.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.296, allocations: 1.845 MB / 0.5061 GB, free: 66.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.2962, allocations: 106.6 kB / 0.5062 GB, free: 66.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.2963, allocations: 46.81 kB / 0.5063 GB, free: 66.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 5.019e-06/0.2963, allocations: 1.625 kB / 0.5063 GB, free: 66.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.02471/0.321, allocations: 15.73 MB / 0.5216 GB, free: 60.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.3211, allocations: 178.8 kB / 0.5218 GB, free: 60.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00347/0.3245, allocations: 4.082 MB / 0.5258 GB, free: 56.96 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003208/0.3248, allocations: 49.7 kB / 0.5258 GB, free: 56.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.3259, allocations: 2.905 MB / 0.5287 GB, free: 54.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/0.3264, allocations: 0.6953 MB / 0.5294 GB, free: 53.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000942/0.3273, allocations: 1.107 MB / 0.5304 GB, free: 52.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.651e-05/0.3274, allocations: 303.1 kB / 0.5307 GB, free: 52.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/0.3292, allocations: 2.182 MB / 0.5329 GB, free: 50.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.3317, allocations: 5.548 MB / 0.5383 GB, free: 43.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005362/0.3371, allocations: 8.366 MB / 0.5465 GB, free: 33.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.291e-05/0.3371, allocations: 32 kB / 0.5465 GB, free: 33.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.008632/0.3458, allocations: 8.274 MB / 0.5546 GB, free: 25.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.3458, allocations: 56 kB / 0.5546 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.3459, allocations: 124.1 kB / 0.5547 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3471, allocations: 0.9708 MB / 0.5557 GB, free: 23.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.3492, allocations: 1.263 MB / 0.5569 GB, free: 22.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.3537, allocations: 6.809 MB / 0.5636 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.3565, allocations: 355.5 kB / 0.5639 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/0.3568, allocations: 336 kB / 0.5642 GB, free: 15.09 MB / 442.7 MB 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 (671): * Single equations (assignments): 667 * 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.001863/0.3587, allocations: 1.968 MB / 0.5661 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.3591, allocations: 345.7 kB / 0.5665 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.3625, allocations: 3.543 MB / 0.5699 GB, free: 9.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.3625, allocations: 20 kB / 0.57 GB, free: 9.195 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3625, allocations: 4 kB / 0.57 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3625, allocations: 7.969 kB / 0.57 GB, free: 9.184 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008635/0.3711, allocations: 8.257 MB / 0.578 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.3712, allocations: 1.219 kB / 0.578 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007014/0.3719, allocations: 271.6 kB / 0.5783 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.373, allocations: 0.8076 MB / 0.5791 GB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.3731, allocations: 32 kB / 0.5791 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/0.3786, allocations: 6.379 MB / 0.5853 GB, free: 9.316 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3786, allocations: 4 kB / 0.5853 GB, free: 9.312 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006507/0.3851, allocations: 6.402 MB / 0.5916 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/0.3866, allocations: 0.642 MB / 0.5922 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.3868, allocations: 24 kB / 0.5922 GB, free: 2.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008507/0.3877, allocations: 143.8 kB / 0.5924 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.3879, allocations: 104.7 kB / 0.5925 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.3879, allocations: 43.98 kB / 0.5925 GB, free: 1.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002527/0.3905, allocations: 2.462 MB / 0.5949 GB, free: 15.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3905, allocations: 4 kB / 0.5949 GB, free: 15.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003147/0.3936, allocations: 1.042 MB / 0.5959 GB, free: 14.44 MB / 474.7 MB 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.006347/0.4, allocations: 7.06 MB / 0.6028 GB, free: 7.348 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005637/0.4056, allocations: 5.071 MB / 0.6078 GB, free: 2.293 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4056, allocations: 0 / 0.6078 GB, free: 2.293 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.4074, allocations: 1.818 MB / 0.6096 GB, free: 476 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.4092, allocations: 416.1 kB / 0.61 GB, free: 76 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2101/0.6192, allocations: 44.14 MB / 0.6531 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001918/0.6212, allocations: 2.519 MB / 0.6555 GB, free: 160 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002448/0.6236, allocations: 1.815 MB / 0.6573 GB, free: 160 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/0.6251, allocations: 1.749 MB / 0.659 GB, free: 160 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/0.6251, allocations: 0 / 0.659 GB, free: 160 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0785/0.7036, allocations: 69.11 MB / 0.7265 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.739/10.44, allocations: 8.062 kB / 0.7265 GB, free: 120.5 MB / 0.5105 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 52.5] 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: 12.805070775561035]