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.001956/0.001956, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002385/0.002385, allocations: 214.6 kB / 20.75 MB, free: 2.328 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.503/1.503, allocations: 230.4 MB / 254 MB, free: 15.04 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.2651/0.2651, allocations: 46.92 MB / 357 MB, free: 10.21 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.002511/0.002511, allocations: 75.88 kB / 0.491 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1305, allocations: 66.06 MB / 0.5555 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01261/0.1431, allocations: 9.505 MB / 0.5648 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008198/0.1513, allocations: 3.827 MB / 0.5685 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1524, allocations: 63.75 kB / 0.5686 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004581/0.157, allocations: 2.309 MB / 0.5708 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.1611, allocations: 1.646 MB / 0.5724 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.1629, allocations: 0.6901 MB / 0.5731 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005456/0.1683, allocations: 3.816 MB / 0.5768 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.1716, allocations: 2.438 MB / 0.5792 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.1737, allocations: 1.316 MB / 0.5805 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.1763, allocations: 1.857 MB / 0.5823 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007059/0.177, allocations: 280 kB / 0.5826 GB, free: 9.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.1793, allocations: 1.194 MB / 0.5837 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001908/0.1812, allocations: 1.628 MB / 0.5853 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.1839, allocations: 1.887 MB / 0.5872 GB, free: 4.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2915/0.4755, allocations: 6.296 MB / 0.5933 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4755, allocations: 0.6562 kB / 0.5933 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4755, allocations: 0 / 0.5933 GB, free: 14.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002087/0.4757, allocations: 3.906 kB / 0.5933 GB, free: 14.12 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.01187/0.4876, allocations: 4.347 MB / 0.5976 GB, free: 12.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.4876, allocations: 10.17 kB / 0.5976 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001518/0.4891, allocations: 0.611 MB / 0.5982 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02425/0.5134, allocations: 3.762 MB / 0.6018 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007416/0.5208, allocations: 2.532 MB / 0.6043 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.521, allocations: 194.6 kB / 0.6045 GB, free: 11.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.5226, allocations: 262.7 kB / 0.6047 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01712/0.5397, allocations: 8.52 MB / 0.6131 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001123/0.5398, allocations: 43.61 kB / 0.6131 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.5402, allocations: 130.4 kB / 0.6132 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002928/0.5431, allocations: 1.737 MB / 0.6149 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.5556, allocations: 7.443 MB / 0.6222 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03898/0.5946, allocations: 33.9 MB / 0.6553 GB, free: 7.504 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007037/0.6016, allocations: 2.911 MB / 0.6581 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002443/0.6041, allocations: 1.697 MB / 0.6598 GB, free: 2.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/0.6046, allocations: 328.4 kB / 0.6601 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.6046, allocations: 54.41 kB / 0.6602 GB, free: 2.324 MB / 478.1 MB Notification: Performance of pre-optimization done (n=135): time 5.581e-06/0.6046, allocations: 0 / 0.6602 GB, free: 2.324 MB / 478.1 MB Notification: Performance of matching and sorting (n=156): time 0.04014/0.6448, allocations: 14.54 MB / 0.6744 GB, free: 3.703 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.645, allocations: 170.9 kB / 0.6745 GB, free: 3.504 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005922/0.6509, allocations: 3.529 MB / 0.678 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004521/0.6513, allocations: 49.7 kB / 0.678 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.6539, allocations: 2.766 MB / 0.6807 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/0.655, allocations: 0.6338 MB / 0.6813 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.6566, allocations: 1.078 MB / 0.6824 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6568, allocations: 301.1 kB / 0.6827 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/0.6602, allocations: 2.013 MB / 0.6846 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006425/0.6666, allocations: 5.217 MB / 0.6897 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.6778, allocations: 7.854 MB / 0.6974 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.6779, allocations: 32 kB / 0.6974 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.01582/0.6938, allocations: 7.789 MB / 0.7051 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.137e-05/0.6938, allocations: 57.66 kB / 0.7051 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.694, allocations: 112 kB / 0.7052 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/0.6966, allocations: 0.9665 MB / 0.7062 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.7006, allocations: 1.185 MB / 0.7073 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.7115, allocations: 6.914 MB / 0.7141 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/0.7155, allocations: 299.7 kB / 0.7144 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008207/0.7163, allocations: 330.6 kB / 0.7147 GB, free: 7.793 MB / 0.5294 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.00318/0.7195, allocations: 1.843 MB / 0.7165 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/0.7202, allocations: 325.8 kB / 0.7168 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006251/0.7264, allocations: 3.188 MB / 0.7199 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.7264, allocations: 20 kB / 0.7199 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.7265, allocations: 4 kB / 0.7199 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.909e-05/0.7265, allocations: 11.81 kB / 0.7199 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.7409, allocations: 7.814 MB / 0.7276 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.7409, allocations: 0 / 0.7276 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.7421, allocations: 227.6 kB / 0.7278 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/0.7444, allocations: 0.8118 MB / 0.7286 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001756/0.7446, allocations: 27.98 kB / 0.7286 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009675/0.7543, allocations: 6.507 MB / 0.7349 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.7543, allocations: 0 / 0.7349 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009677/0.764, allocations: 5.826 MB / 0.7406 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009548/0.7649, allocations: 374.8 kB / 0.741 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.7653, allocations: 20 kB / 0.741 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.7666, allocations: 95.86 kB / 0.7411 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.7669, allocations: 92.81 kB / 0.7412 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.767, allocations: 39.67 kB / 0.7412 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004487/0.7715, allocations: 2.205 MB / 0.7434 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7715, allocations: 4 kB / 0.7434 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005581/0.7771, allocations: 0.8593 MB / 0.7442 GB, free: 9.316 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.01043/0.7875, allocations: 6.461 MB / 0.7505 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008878/0.7964, allocations: 4.695 MB / 0.7551 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.7964, allocations: 0 / 0.7551 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003317/0.7997, allocations: 1.657 MB / 0.7567 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.8029, allocations: 394.9 kB / 0.7571 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07601/0.8789, allocations: 40.8 MB / 0.797 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004495/0.8834, allocations: 2.888 MB / 0.7998 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004457/0.8878, allocations: 1.703 MB / 0.8014 GB, free: 9.844 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002849/0.8907, allocations: 1.554 MB / 0.803 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of SimCode: time 1.403e-06/0.8907, allocations: 4 kB / 0.803 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4444/1.335, allocations: 62.98 MB / 0.8645 GB, free: 231.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.25/22.58, allocations: 10.44 kB / 0.8645 GB, free: 231.1 MB / 0.6544 GB " [Timeout remaining time 637] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_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.csv","/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: 25.89511492603924]