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.001353/0.001353, 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 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.001446/0.001446, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.524/1.524, 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.237/0.237, allocations: 46.96 MB / 360.9 MB, free: 4.016 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.002069/0.002069, allocations: 71.89 kB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3287, allocations: 66.03 MB / 0.5606 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01055/0.3393, allocations: 8.363 MB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006838/0.3461, allocations: 3.614 MB / 0.5723 GB, free: 8.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3473, allocations: 63.69 kB / 0.5724 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004493/0.3518, allocations: 2.231 MB / 0.5745 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005373/0.3572, allocations: 1.654 MB / 0.5762 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.3595, allocations: 0.7018 MB / 0.5768 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006857/0.3664, allocations: 3.8 MB / 0.5806 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003715/0.3701, allocations: 2.316 MB / 0.5828 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.3724, allocations: 1.308 MB / 0.5841 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003349/0.3758, allocations: 1.756 MB / 0.5858 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007025/0.3765, allocations: 280 kB / 0.5861 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002338/0.3788, allocations: 1.069 MB / 0.5871 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002223/0.381, allocations: 1.624 MB / 0.5887 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.3837, allocations: 1.386 MB / 0.5901 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.3946, allocations: 6.323 MB / 0.5962 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3946, allocations: 0 / 0.5962 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3946, allocations: 0 / 0.5962 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001851/0.3948, allocations: 0 / 0.5962 GB, free: 15.54 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.01219/0.407, allocations: 4.276 MB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.407, allocations: 12.03 kB / 0.6004 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00132/0.4084, allocations: 0.6043 MB / 0.601 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/0.4361, allocations: 3.766 MB / 0.6047 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007258/0.4433, allocations: 2.478 MB / 0.6071 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4435, allocations: 193.3 kB / 0.6073 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/0.4441, allocations: 267.8 kB / 0.6075 GB, free: 3.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.4578, allocations: 8.551 MB / 0.6159 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.88e-05/0.4579, allocations: 35.7 kB / 0.6159 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.4582, allocations: 123.9 kB / 0.6161 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002966/0.4612, allocations: 1.743 MB / 0.6178 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/0.4739, allocations: 7.404 MB / 0.625 GB, free: 1.332 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/0.5167, allocations: 32.47 MB / 0.6567 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/0.5235, allocations: 2.458 MB / 0.6591 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002424/0.5259, allocations: 1.7 MB / 0.6607 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.5262, allocations: 92.59 kB / 0.6608 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.5262, allocations: 51.16 kB / 0.6609 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 5.561e-06/0.5262, allocations: 0 / 0.6609 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03379/0.56, allocations: 14.32 MB / 0.6749 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.5601, allocations: 167.2 kB / 0.675 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/0.5654, allocations: 3.715 MB / 0.6787 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.5656, allocations: 45.7 kB / 0.6787 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002257/0.5679, allocations: 2.773 MB / 0.6814 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006463/0.5685, allocations: 0.6241 MB / 0.682 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/0.5699, allocations: 1.072 MB / 0.6831 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5701, allocations: 309.1 kB / 0.6834 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/0.5732, allocations: 2.013 MB / 0.6853 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006611/0.5798, allocations: 5.243 MB / 0.6904 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.5907, allocations: 7.849 MB / 0.6981 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.96e-05/0.5908, allocations: 32 kB / 0.6981 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01444/0.6052, allocations: 7.806 MB / 0.7058 GB, free: 10.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.783e-05/0.6053, allocations: 52 kB / 0.7058 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.6054, allocations: 116.1 kB / 0.7059 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.608, allocations: 0.9649 MB / 0.7069 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00385/0.6118, allocations: 1.185 MB / 0.708 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.6221, allocations: 6.736 MB / 0.7146 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/0.6267, allocations: 303.6 kB / 0.7149 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008228/0.6275, allocations: 328 kB / 0.7152 GB, free: 432 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.003952/0.6314, allocations: 1.848 MB / 0.717 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009574/0.6324, allocations: 325.8 kB / 0.7173 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.6388, allocations: 3.182 MB / 0.7204 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-05/0.6389, allocations: 16 kB / 0.7204 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.6389, allocations: 4 kB / 0.7205 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.6389, allocations: 11.97 kB / 0.7205 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.6543, allocations: 7.435 MB / 0.7277 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.6544, allocations: 4 kB / 0.7277 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.6555, allocations: 223.7 kB / 0.7279 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002304/0.6578, allocations: 0.8085 MB / 0.7287 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001496/0.658, allocations: 27.98 kB / 0.7288 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2751/0.9331, allocations: 6.322 MB / 0.7349 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9331, allocations: 0 / 0.7349 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007076/0.9402, allocations: 5.819 MB / 0.7406 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009234/0.9411, allocations: 297.1 kB / 0.7409 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/0.9415, allocations: 23.66 kB / 0.7409 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.9427, allocations: 99.56 kB / 0.741 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.943, allocations: 87.2 kB / 0.7411 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.9431, allocations: 43.86 kB / 0.7411 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00273/0.9458, allocations: 2.207 MB / 0.7433 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9458, allocations: 0 / 0.7433 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003511/0.9493, allocations: 0.864 MB / 0.7441 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.006784/0.9561, allocations: 6.456 MB / 0.7504 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005711/0.9618, allocations: 4.698 MB / 0.755 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.9618, allocations: 4 kB / 0.755 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/0.964, allocations: 1.666 MB / 0.7567 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.966, allocations: 389.5 kB / 0.757 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04071/1.007, allocations: 40.88 MB / 0.797 GB, free: 94.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/1.009, allocations: 2.33 MB / 0.7992 GB, free: 92.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003103/1.012, allocations: 1.713 MB / 0.8009 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.014, allocations: 1.546 MB / 0.8024 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/1.014, allocations: 0 / 0.8024 GB, free: 88.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.127, allocations: 63.27 MB / 0.8642 GB, free: 26.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.21/17.33, allocations: 11.25 kB / 0.8642 GB, free: 26.39 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: 21.136941594071686]