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.0008186/0.0008186, allocations: 75.7 kB / 20.01 MB, free: 4.508 MB / 18.57 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.0008453/0.0008453, allocations: 169.9 kB / 23.32 MB, free: 1.207 MB / 18.57 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 0.8143/0.8143, allocations: 158.6 MB / 185.1 MB, free: 3.008 MB / 170.7 MB " [Timeout remaining time 179] 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.1313/0.1313, allocations: 32.38 MB / 269.7 MB, free: 14.99 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 407.1 MB, free: 2.109 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.474e-05, allocations: 6.078 kB / 407.1 MB, free: 2.105 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007126/0.007151, allocations: 9.024 MB / 416.1 MB, free: 9.031 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005565/0.01272, allocations: 3.719 MB / 419.8 MB, free: 5.301 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.01393, allocations: 67.69 kB / 419.9 MB, free: 5.234 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.01675, allocations: 2.375 MB / 422.3 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003367/0.02012, allocations: 1.839 MB / 424.1 MB, free: 1.004 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.02127, allocations: 0.76 MB / 424.9 MB, free: 248 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004185/0.02546, allocations: 4.186 MB / 429 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002792/0.02825, allocations: 2.686 MB / 431.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.03103, allocations: 2.113 MB / 433.8 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002238/0.03326, allocations: 2.003 MB / 435.8 MB, free: 5.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.0339, allocations: 312 kB / 436.1 MB, free: 4.875 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.03536, allocations: 1.135 MB / 437.3 MB, free: 3.738 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.03656, allocations: 1.85 MB / 439.1 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.03783, allocations: 1.176 MB / 440.3 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005673/0.0435, allocations: 6.928 MB / 447.2 MB, free: 9.754 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.04351, allocations: 4 kB / 447.2 MB, free: 9.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.04351, allocations: 4 kB / 447.2 MB, free: 9.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002226/0.04374, allocations: 0 / 447.2 MB, free: 9.746 MB / 426.7 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.00791/0.05164, allocations: 4.581 MB / 451.8 MB, free: 5.109 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.05169, allocations: 12.03 kB / 451.8 MB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008343/0.05253, allocations: 0.658 MB / 452.5 MB, free: 4.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.0641, allocations: 4.051 MB / 456.5 MB, free: 380 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/0.0686, allocations: 2.588 MB / 459.1 MB, free: 13.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.06874, allocations: 209.6 kB / 459.3 MB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/0.06942, allocations: 280.2 kB / 459.6 MB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.07974, allocations: 9.238 MB / 468.8 MB, free: 3.379 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.491e-05/0.07981, allocations: 39.69 kB / 468.9 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/0.08012, allocations: 135.9 kB / 469 MB, free: 3.207 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001899/0.08202, allocations: 1.919 MB / 470.9 MB, free: 1.281 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1593/0.2413, allocations: 8 MB / 478.9 MB, free: 91.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/0.2666, allocations: 34.72 MB / 0.5016 GB, free: 67.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/0.2713, allocations: 3.098 MB / 0.5046 GB, free: 66.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.2731, allocations: 1.844 MB / 0.5064 GB, free: 66.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002255/0.2734, allocations: 101.5 kB / 0.5065 GB, free: 66.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.2734, allocations: 55.38 kB / 0.5066 GB, free: 66.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=156): time 4.729e-06/0.2734, allocations: 112 / 0.5066 GB, free: 66.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.02322/0.2966, allocations: 15.73 MB / 0.522 GB, free: 60.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.2967, allocations: 183.8 kB / 0.5221 GB, free: 60.02 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003968/0.3006, allocations: 4.079 MB / 0.5261 GB, free: 56.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003535/0.301, allocations: 53.7 kB / 0.5262 GB, free: 56.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/0.3019, allocations: 2.899 MB / 0.529 GB, free: 53.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/0.3024, allocations: 0.6946 MB / 0.5297 GB, free: 53.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008602/0.3033, allocations: 1.11 MB / 0.5308 GB, free: 52.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.091e-05/0.3033, allocations: 311.1 kB / 0.5311 GB, free: 52.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.3052, allocations: 2.179 MB / 0.5332 GB, free: 50.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.3079, allocations: 5.542 MB / 0.5386 GB, free: 43.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005066/0.3129, allocations: 8.364 MB / 0.5468 GB, free: 33.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-05/0.313, allocations: 32 kB / 0.5468 GB, free: 33.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.008136/0.3211, allocations: 8.285 MB / 0.5549 GB, free: 24.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.3212, allocations: 56 kB / 0.5549 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-05/0.3212, allocations: 120 kB / 0.5551 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.3225, allocations: 0.9713 MB / 0.556 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002099/0.3246, allocations: 1.263 MB / 0.5572 GB, free: 22.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.3294, allocations: 6.811 MB / 0.5639 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/0.3325, allocations: 355.6 kB / 0.5642 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/0.3329, allocations: 340 kB / 0.5645 GB, free: 14.77 MB / 442.7 MB 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.00196/0.3349, allocations: 1.965 MB / 0.5665 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000468/0.3353, allocations: 337.7 kB / 0.5668 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003207/0.3385, allocations: 3.555 MB / 0.5703 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.086e-05/0.3386, allocations: 20 kB / 0.5703 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3386, allocations: 8 kB / 0.5703 GB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3386, allocations: 7.969 kB / 0.5703 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008168/0.3468, allocations: 8.246 MB / 0.5784 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3468, allocations: 0 / 0.5784 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007079/0.3475, allocations: 279.5 kB / 0.5786 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.3487, allocations: 0.8068 MB / 0.5794 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3488, allocations: 35.98 kB / 0.5794 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00567/0.3544, allocations: 6.367 MB / 0.5857 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3544, allocations: 4 kB / 0.5857 GB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006936/0.3614, allocations: 6.394 MB / 0.5919 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.363, allocations: 0.642 MB / 0.5925 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/0.3634, allocations: 35.52 kB / 0.5926 GB, free: 1.902 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.3644, allocations: 143.8 kB / 0.5927 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.3646, allocations: 108.7 kB / 0.5928 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.3647, allocations: 44 kB / 0.5928 GB, free: 1.609 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003926/0.3686, allocations: 2.462 MB / 0.5953 GB, free: 15.16 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3686, allocations: 0 / 0.5953 GB, free: 15.16 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005024/0.3737, allocations: 1.043 MB / 0.5963 GB, free: 14.12 MB / 474.7 MB 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.006991/0.3807, allocations: 7.065 MB / 0.6032 GB, free: 7.023 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005992/0.3867, allocations: 5.065 MB / 0.6081 GB, free: 1.977 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3867, allocations: 0 / 0.6081 GB, free: 1.977 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/0.3886, allocations: 1.818 MB / 0.6099 GB, free: 148 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.3908, allocations: 406 kB / 0.6103 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2054/0.5962, allocations: 44.15 MB / 0.6534 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002292/0.5985, allocations: 2.514 MB / 0.6558 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002751/0.6012, allocations: 1.815 MB / 0.6576 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/0.6031, allocations: 1.738 MB / 0.6593 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.332e-06/0.6031, allocations: 0 / 0.6593 GB, free: 161.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08158/0.6847, allocations: 69.27 MB / 0.727 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.38, allocations: 8 kB / 0.727 GB, free: 120.4 MB / 0.5105 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/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: 13.454982529394329]