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.001779/0.001779, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001472/0.001472, allocations: 215.7 kB / 22.99 MB, free: 4.977 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.597/1.597, allocations: 207.7 MB / 233.8 MB, free: 9.785 MB / 190.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.241/0.241, allocations: 44.27 MB / 330.3 MB, free: 9.293 MB / 270.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: "" <> 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: 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.00302/0.00302, allocations: 76.5 kB / 467.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1784, allocations: 61.03 MB / 0.5162 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01439/0.1928, allocations: 9.016 MB / 0.525 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.2043, allocations: 3.72 MB / 0.5286 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.2067, allocations: 67.62 kB / 0.5287 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005211/0.2119, allocations: 2.262 MB / 0.5309 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00707/0.219, allocations: 1.79 MB / 0.5326 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.2211, allocations: 0.7057 MB / 0.5333 GB, free: 5.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006997/0.2281, allocations: 3.809 MB / 0.537 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.344/0.5721, allocations: 2.42 MB / 0.5394 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003789/0.5759, allocations: 1.395 MB / 0.5408 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.5799, allocations: 1.907 MB / 0.5426 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009027/0.5808, allocations: 306.7 kB / 0.5429 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.5836, allocations: 1.086 MB / 0.544 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.586, allocations: 1.764 MB / 0.5457 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002384/0.5884, allocations: 1.512 MB / 0.5472 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.603, allocations: 6.878 MB / 0.5539 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.603, allocations: 3.234 kB / 0.5539 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.603, allocations: 0 / 0.5539 GB, free: 9.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002857/0.6033, allocations: 0.5312 kB / 0.5539 GB, free: 9.098 MB / 414.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.01718/0.6205, allocations: 4.562 MB / 0.5583 GB, free: 6.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.6206, allocations: 11.3 kB / 0.5584 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001752/0.6223, allocations: 0.6587 MB / 0.559 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02252/0.6448, allocations: 3.822 MB / 0.5627 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009093/0.6539, allocations: 2.838 MB / 0.5655 GB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.6542, allocations: 205.3 kB / 0.5657 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001918/0.6561, allocations: 281.3 kB / 0.566 GB, free: 4.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/0.6804, allocations: 9.243 MB / 0.575 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002569/0.6806, allocations: 52.17 kB / 0.575 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001138/0.6818, allocations: 129.3 kB / 0.5752 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004332/0.6861, allocations: 1.917 MB / 0.577 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02099/0.7071, allocations: 8.011 MB / 0.5849 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06805/0.7751, allocations: 34.4 MB / 0.6185 GB, free: 7.398 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008414/0.7836, allocations: 3.023 MB / 0.6214 GB, free: 4.352 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/0.7867, allocations: 1.86 MB / 0.6232 GB, free: 2.492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.7871, allocations: 97.09 kB / 0.6233 GB, free: 2.398 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.577e-05/0.7872, allocations: 59.3 kB / 0.6234 GB, free: 2.336 MB / 462.1 MB Notification: Performance of pre-optimization done (n=156): time 6.012e-06/0.7872, allocations: 0 / 0.6234 GB, free: 2.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=177): time 0.04182/0.829, allocations: 15.3 MB / 0.6383 GB, free: 3.035 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/0.8292, allocations: 178.7 kB / 0.6385 GB, free: 2.828 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/0.8362, allocations: 3.858 MB / 0.6423 GB, free: 14.97 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005921/0.8368, allocations: 55.41 kB / 0.6423 GB, free: 14.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003241/0.84, allocations: 2.936 MB / 0.6452 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001642/0.8417, allocations: 0.7031 MB / 0.6459 GB, free: 11.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002181/0.8438, allocations: 1.135 MB / 0.647 GB, free: 10.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.844, allocations: 301.1 kB / 0.6473 GB, free: 9.855 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004131/0.8482, allocations: 2.185 MB / 0.6494 GB, free: 7.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008419/0.8566, allocations: 5.541 MB / 0.6548 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01533/0.8719, allocations: 8.36 MB / 0.663 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000204/0.8721, allocations: 36 kB / 0.663 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.02151/0.8936, allocations: 8.281 MB / 0.6711 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.8937, allocations: 56 kB / 0.6711 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001833/0.8939, allocations: 120 kB / 0.6713 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.8964, allocations: 0.9648 MB / 0.6722 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005321/0.9018, allocations: 1.267 MB / 0.6734 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.9119, allocations: 6.754 MB / 0.68 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/0.9182, allocations: 319.5 kB / 0.6803 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001588/0.9198, allocations: 348 kB / 0.6807 GB, free: 4.574 MB / 0.5137 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 (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.006882/0.9266, allocations: 1.971 MB / 0.6826 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001327/0.928, allocations: 333.8 kB / 0.6829 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008832/0.9368, allocations: 3.547 MB / 0.6864 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.9369, allocations: 21.5 kB / 0.6864 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.9369, allocations: 15.98 kB / 0.6864 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.9369, allocations: 7.922 kB / 0.6864 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/0.9569, allocations: 8.15 MB / 0.6944 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/0.9569, allocations: 0 / 0.6944 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.9585, allocations: 279.5 kB / 0.6946 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002198/0.9607, allocations: 0.8046 MB / 0.6954 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.9609, allocations: 31.98 kB / 0.6955 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009651/0.9706, allocations: 6.32 MB / 0.7016 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9706, allocations: 3.938 kB / 0.7016 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/0.9818, allocations: 6.398 MB / 0.7079 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/0.9845, allocations: 0.6029 MB / 0.7085 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006241/0.9851, allocations: 28 kB / 0.7085 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9866, allocations: 107.8 kB / 0.7086 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.9869, allocations: 106.8 kB / 0.7087 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.9871, allocations: 54.8 kB / 0.7088 GB, free: 7.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004617/0.9917, allocations: 2.29 MB / 0.711 GB, free: 5.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9917, allocations: 0 / 0.711 GB, free: 5.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006051/0.9977, allocations: 0.9374 MB / 0.7119 GB, free: 4.418 MB / 0.545 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.01091/1.009, allocations: 7.043 MB / 0.7188 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009415/1.018, allocations: 5.07 MB / 0.7237 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.018, allocations: 0 / 0.7237 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003283/1.021, allocations: 1.811 MB / 0.7255 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/1.024, allocations: 413.1 kB / 0.7259 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09042/1.115, allocations: 43.64 MB / 0.7685 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006102/1.121, allocations: 2.522 MB / 0.771 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00539/1.126, allocations: 1.802 MB / 0.7727 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3024/1.429, allocations: 1.734 MB / 0.7744 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of SimCode: time 2.184e-06/1.429, allocations: 0 / 0.7744 GB, free: 215.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.562, allocations: 67.27 MB / 0.8401 GB, free: 174.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/17.94, allocations: 4 kB / 0.8401 GB, free: 174.7 MB / 0.6075 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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: 21.44380282005295]