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.001361/0.001361, allocations: 112.4 kB / 20.48 MB, free: 1.27 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.001565/0.001565, allocations: 212.1 kB / 23.77 MB, free: 4.445 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.446/1.446, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2275/0.2275, allocations: 46.94 MB / 360.8 MB, free: 3.91 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.003667/0.003667, allocations: 83.86 kB / 0.4962 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3598, allocations: 66.08 MB / 0.5608 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01193/0.3718, allocations: 8.369 MB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008059/0.3798, allocations: 3.618 MB / 0.5725 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.3811, allocations: 63.69 kB / 0.5725 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004801/0.3859, allocations: 2.227 MB / 0.5747 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.3902, allocations: 1.654 MB / 0.5763 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.3918, allocations: 0.6979 MB / 0.577 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005084/0.3969, allocations: 3.813 MB / 0.5807 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.4, allocations: 2.304 MB / 0.583 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002584/0.4026, allocations: 1.316 MB / 0.5843 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.4055, allocations: 1.756 MB / 0.586 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008539/0.4064, allocations: 280 kB / 0.5862 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.4088, allocations: 1.061 MB / 0.5873 GB, free: 8.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.4107, allocations: 1.624 MB / 0.5889 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.4124, allocations: 1.39 MB / 0.5902 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007863/0.4202, allocations: 6.323 MB / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4202, allocations: 0 / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4202, allocations: 0 / 0.5964 GB, free: 15.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001404/0.4204, allocations: 4 kB / 0.5964 GB, free: 15.38 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.009538/0.4299, allocations: 4.284 MB / 0.6006 GB, free: 11.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.43, allocations: 8.031 kB / 0.6006 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008561/0.4308, allocations: 0.6082 MB / 0.6012 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0218/0.4526, allocations: 3.989 MB / 0.6051 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005921/0.4586, allocations: 2.47 MB / 0.6075 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.4587, allocations: 193.3 kB / 0.6077 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000745/0.4595, allocations: 275.6 kB / 0.6079 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01466/0.4741, allocations: 8.543 MB / 0.6163 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/0.4742, allocations: 39.64 kB / 0.6163 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003489/0.4746, allocations: 127.9 kB / 0.6164 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003091/0.4777, allocations: 1.743 MB / 0.6181 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.4918, allocations: 7.408 MB / 0.6254 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04324/0.5351, allocations: 32.56 MB / 0.6572 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00671/0.5418, allocations: 2.528 MB / 0.6596 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002335/0.5441, allocations: 1.704 MB / 0.6613 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002985/0.5444, allocations: 92.59 kB / 0.6614 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/0.5445, allocations: 47.22 kB / 0.6614 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 4.148e-06/0.5445, allocations: 0 / 0.6614 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03925/0.5837, allocations: 14.6 MB / 0.6757 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.5838, allocations: 179.1 kB / 0.6759 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006711/0.5906, allocations: 3.715 MB / 0.6795 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003847/0.5909, allocations: 45.7 kB / 0.6795 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00247/0.5934, allocations: 2.765 MB / 0.6822 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.5945, allocations: 0.6319 MB / 0.6829 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/0.5968, allocations: 1.068 MB / 0.6839 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5969, allocations: 309.1 kB / 0.6842 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.6003, allocations: 2.013 MB / 0.6862 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00626/0.6065, allocations: 5.243 MB / 0.6913 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.6177, allocations: 7.856 MB / 0.6989 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/0.6178, allocations: 32 kB / 0.699 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.02226/0.6401, allocations: 7.801 MB / 0.7066 GB, free: 9.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.6403, allocations: 52 kB / 0.7066 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/0.6405, allocations: 115.9 kB / 0.7068 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.644, allocations: 0.9728 MB / 0.7077 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/0.6499, allocations: 1.185 MB / 0.7089 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.6635, allocations: 6.743 MB / 0.7154 GB, free: 168 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005681/0.6692, allocations: 303.7 kB / 0.7157 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/0.6704, allocations: 320 kB / 0.716 GB, free: 15.55 MB / 0.5606 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.004/0.6744, allocations: 1.845 MB / 0.7178 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008615/0.6752, allocations: 321.8 kB / 0.7182 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/0.6813, allocations: 3.19 MB / 0.7213 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/0.6813, allocations: 16 kB / 0.7213 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.6813, allocations: 8 kB / 0.7213 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/0.6814, allocations: 3.984 kB / 0.7213 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.6967, allocations: 7.45 MB / 0.7286 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.6967, allocations: 0 / 0.7286 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.6979, allocations: 231.6 kB / 0.7288 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.7, allocations: 0.8085 MB / 0.7296 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.7002, allocations: 27.98 kB / 0.7296 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2482/0.9483, allocations: 6.329 MB / 0.7358 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9483, allocations: 0 / 0.7358 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006636/0.9549, allocations: 5.828 MB / 0.7415 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006453/0.9556, allocations: 287.9 kB / 0.7418 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.9559, allocations: 30.97 kB / 0.7418 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.957, allocations: 97.23 kB / 0.7419 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/0.9572, allocations: 84.27 kB / 0.742 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.9573, allocations: 47.27 kB / 0.742 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002407/0.9598, allocations: 2.208 MB / 0.7442 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9598, allocations: 1.5 kB / 0.7442 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003409/0.9632, allocations: 0.8563 MB / 0.745 GB, free: 148.6 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.006543/0.9697, allocations: 6.463 MB / 0.7513 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005226/0.9749, allocations: 4.694 MB / 0.7559 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.9749, allocations: 0 / 0.7559 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002078/0.977, allocations: 1.66 MB / 0.7575 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.9789, allocations: 399.9 kB / 0.7579 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/1.022, allocations: 40.87 MB / 0.7978 GB, free: 93.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/1.024, allocations: 2.326 MB / 0.8001 GB, free: 91.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002885/1.027, allocations: 1.713 MB / 0.8017 GB, free: 89.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/1.028, allocations: 1.558 MB / 0.8033 GB, free: 87.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/1.028, allocations: 0 / 0.8033 GB, free: 87.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1008/1.129, allocations: 63.22 MB / 0.865 GB, free: 25.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/18.13, allocations: 8 kB / 0.865 GB, free: 25.35 MB / 0.5606 GB " [Timeout remaining time 642] (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: 21.306083953997586]