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.001809/0.001809, allocations: 114.2 kB / 19.69 MB, free: 2.207 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.002334/0.002334, allocations: 217.3 kB / 23.01 MB, free: 5.062 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.455/1.455, allocations: 207.6 MB / 233.8 MB, free: 9.992 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.224/0.224, allocations: 44.24 MB / 330.3 MB, free: 9.621 MB / 270.1 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: 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.002312/0.002312, allocations: 75.89 kB / 467.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1232, allocations: 61.04 MB / 0.5162 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01256/0.1358, allocations: 10.3 MB / 0.5262 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008413/0.1442, allocations: 3.961 MB / 0.5301 GB, free: 9.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.1457, allocations: 63.75 kB / 0.5301 GB, free: 8.957 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004686/0.1504, allocations: 2.355 MB / 0.5324 GB, free: 6.594 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.1554, allocations: 1.786 MB / 0.5342 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1573, allocations: 0.7018 MB / 0.5349 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006306/0.1636, allocations: 3.817 MB / 0.5386 GB, free: 276 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2448/0.4084, allocations: 2.42 MB / 0.541 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.4117, allocations: 1.399 MB / 0.5423 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004324/0.416, allocations: 2.012 MB / 0.5443 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009924/0.417, allocations: 308.2 kB / 0.5446 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.4196, allocations: 1.214 MB / 0.5458 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002043/0.4216, allocations: 1.77 MB / 0.5475 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003035/0.4247, allocations: 2.055 MB / 0.5495 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4347, allocations: 6.855 MB / 0.5562 GB, free: 7.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4347, allocations: 3.281 kB / 0.5562 GB, free: 7.672 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4347, allocations: 3.938 kB / 0.5562 GB, free: 7.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002176/0.435, allocations: 0 / 0.5562 GB, free: 7.668 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.01501/0.45, allocations: 4.562 MB / 0.5607 GB, free: 5.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.45, allocations: 9.469 kB / 0.5607 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002415/0.4524, allocations: 0.6562 MB / 0.5613 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02178/0.4742, allocations: 3.824 MB / 0.5651 GB, free: 3.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008159/0.4824, allocations: 2.841 MB / 0.5678 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002439/0.4826, allocations: 206.5 kB / 0.568 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.4839, allocations: 275.9 kB / 0.5683 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01732/0.5012, allocations: 9.218 MB / 0.5773 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001242/0.5013, allocations: 49.02 kB / 0.5773 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004236/0.5018, allocations: 134.3 kB / 0.5775 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003434/0.5052, allocations: 1.914 MB / 0.5793 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.5242, allocations: 8.037 MB / 0.5872 GB, free: 7.348 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06946/0.5936, allocations: 35.88 MB / 0.6222 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/0.6017, allocations: 3.025 MB / 0.6252 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.6047, allocations: 1.851 MB / 0.627 GB, free: 14.04 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/0.6051, allocations: 114.5 kB / 0.6271 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.592e-05/0.6052, allocations: 48.78 kB / 0.6271 GB, free: 13.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=156): time 5.229e-06/0.6052, allocations: 0 / 0.6271 GB, free: 13.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=177): time 0.04133/0.6465, allocations: 15.26 MB / 0.642 GB, free: 14.62 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.6467, allocations: 178 kB / 0.6422 GB, free: 14.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00645/0.6531, allocations: 3.661 MB / 0.6458 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005099/0.6536, allocations: 49.64 kB / 0.6458 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002843/0.6565, allocations: 2.934 MB / 0.6487 GB, free: 7.785 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001106/0.6576, allocations: 0.7111 MB / 0.6494 GB, free: 7.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/0.6595, allocations: 1.127 MB / 0.6505 GB, free: 5.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6596, allocations: 301.1 kB / 0.6508 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004191/0.6638, allocations: 2.185 MB / 0.6529 GB, free: 3.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007274/0.6711, allocations: 5.526 MB / 0.6583 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01183/0.6829, allocations: 8.355 MB / 0.6665 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.97e-05/0.683, allocations: 36 kB / 0.6665 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01833/0.7013, allocations: 8.286 MB / 0.6746 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.7015, allocations: 56 kB / 0.6747 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002055/0.7017, allocations: 116 kB / 0.6748 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.7044, allocations: 0.9688 MB / 0.6757 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/0.7092, allocations: 1.263 MB / 0.6769 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.7195, allocations: 6.813 MB / 0.6836 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.724, allocations: 319.5 kB / 0.6839 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008419/0.7249, allocations: 342.5 kB / 0.6842 GB, free: 428 kB / 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.004215/0.7291, allocations: 1.97 MB / 0.6862 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008008/0.7299, allocations: 344.1 kB / 0.6865 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007292/0.7372, allocations: 3.551 MB / 0.6899 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-05/0.7372, allocations: 20 kB / 0.69 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.7372, allocations: 4 kB / 0.69 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.7373, allocations: 7.969 kB / 0.69 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.7553, allocations: 8.54 MB / 0.6983 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.7553, allocations: 3.938 kB / 0.6983 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.7568, allocations: 271.6 kB / 0.6986 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002296/0.7591, allocations: 0.8085 MB / 0.6994 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/0.7594, allocations: 31.98 kB / 0.6994 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009868/0.7693, allocations: 6.385 MB / 0.7056 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7693, allocations: 0 / 0.7056 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01122/0.7805, allocations: 6.404 MB / 0.7119 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002344/0.7829, allocations: 0.6068 MB / 0.7125 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007192/0.7836, allocations: 34 kB / 0.7125 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/0.7852, allocations: 103.9 kB / 0.7126 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/0.7856, allocations: 100.8 kB / 0.7127 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.7857, allocations: 47.98 kB / 0.7128 GB, free: 3.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004676/0.7904, allocations: 2.294 MB / 0.715 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7904, allocations: 0 / 0.715 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005792/0.7962, allocations: 0.9444 MB / 0.7159 GB, free: 15.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 (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.01183/0.808, allocations: 7.036 MB / 0.7228 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01004/0.8181, allocations: 5.08 MB / 0.7277 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.8181, allocations: 0 / 0.7277 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003955/0.822, allocations: 1.811 MB / 0.7295 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.825, allocations: 404.3 kB / 0.7299 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08182/0.9068, allocations: 43.64 MB / 0.7725 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2257/1.133, allocations: 3.053 MB / 0.7755 GB, free: 217.3 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005224/1.138, allocations: 1.812 MB / 0.7773 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003226/1.141, allocations: 1.732 MB / 0.779 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.353e-06/1.141, allocations: 2 kB / 0.779 GB, free: 217.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.265, allocations: 71.64 MB / 0.8489 GB, free: 168.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.25/20.51, allocations: 4.062 kB / 0.8489 GB, free: 168.5 MB / 0.6075 GB " [Timeout remaining time 639] (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: 23.63991173699469]