Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.003206/0.003206, allocations: 92.97 kB / 20.21 MB, free: 4.207 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.003474/0.003474, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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 1.536/1.536, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 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.2219/0.2219, allocations: 32.37 MB / 270 MB, free: 14.86 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.505e-05, allocations: 6.312 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01155/0.01158, allocations: 11.55 MB / 358.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.02322, allocations: 4.29 MB / 362.8 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002662/0.02589, allocations: 83.62 kB / 362.9 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006983/0.03287, allocations: 2.955 MB / 365.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007315/0.04018, allocations: 2.181 MB / 368 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.04337, allocations: 1.123 MB / 369.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.05454, allocations: 5.813 MB / 374.9 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008298/0.06284, allocations: 3.517 MB / 378.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006886/0.06972, allocations: 2.736 MB / 381.2 MB, free: 7.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006407/0.07613, allocations: 2.802 MB / 384 MB, free: 4.582 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.07754, allocations: 376 kB / 384.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.08092, allocations: 1.385 MB / 385.8 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003176/0.0841, allocations: 2.392 MB / 388.1 MB, free: 440 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002897/0.08699, allocations: 1.464 MB / 389.6 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01484/0.1018, allocations: 8.247 MB / 397.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1018, allocations: 0 / 397.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1018, allocations: 0 / 397.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003623/0.1022, allocations: 4 kB / 397.9 MB, free: 6.684 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02206/0.1243, allocations: 6.758 MB / 404.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.1243, allocations: 12.02 kB / 404.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/0.1448, allocations: 3.157 MB / 407.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009389/0.1542, allocations: 2.938 MB / 410.7 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000314/0.1545, allocations: 254.8 kB / 411 MB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.156, allocations: 348.3 kB / 411.3 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.1813, allocations: 8.114 MB / 419.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002246/0.1815, allocations: 51.56 kB / 419.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007748/0.1823, allocations: 163.8 kB / 419.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00483/0.1871, allocations: 2.377 MB / 422 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.2066, allocations: 4.846 MB / 426.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3029/0.5095, allocations: 56.15 MB / 483 MB, free: 58.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/0.5288, allocations: 3.485 MB / 486.5 MB, free: 57.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00203/0.5308, allocations: 1.018 MB / 487.5 MB, free: 57.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01617/0.547, allocations: 7.975 MB / 495.5 MB, free: 53.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.547, allocations: 62.2 kB / 495.6 MB, free: 53.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=204): time 4.488e-06/0.547, allocations: 0 / 495.6 MB, free: 53.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=265): time 0.09399/0.641, allocations: 26.35 MB / 0.5097 GB, free: 29.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/0.6411, allocations: 213.4 kB / 0.5099 GB, free: 29.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005728/0.6468, allocations: 4.674 MB / 0.5144 GB, free: 25.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007265/0.6475, allocations: 69.7 kB / 0.5145 GB, free: 25.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.6494, allocations: 3.901 MB / 0.5183 GB, free: 21.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001457/0.6509, allocations: 1.127 MB / 0.5194 GB, free: 20.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002422/0.6533, allocations: 1.758 MB / 0.5211 GB, free: 18.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.6534, allocations: 476.8 kB / 0.5216 GB, free: 17.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.6558, allocations: 1.142 MB / 0.5227 GB, free: 16.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004406/0.6602, allocations: 7.201 MB / 0.5297 GB, free: 6.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.6716, allocations: 9.333 MB / 0.5388 GB, free: 11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002145/0.6718, allocations: 36 kB / 0.5389 GB, free: 10.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02872/0.7005, allocations: 8.481 MB / 0.5472 GB, free: 2.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.7006, allocations: 60 kB / 0.5472 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002017/0.7009, allocations: 136 kB / 0.5473 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01207/0.7129, allocations: 2.703 MB / 0.55 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006583/0.7195, allocations: 1.579 MB / 0.5515 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.7377, allocations: 7.089 MB / 0.5585 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007099/0.7448, allocations: 0.4954 MB / 0.5589 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00149/0.7463, allocations: 416 kB / 0.5593 GB, free: 5.891 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002998/0.7493, allocations: 0.8044 MB / 0.5601 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/0.7507, allocations: 457.4 kB / 0.5606 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01451/0.7652, allocations: 4.401 MB / 0.5649 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-05/0.7653, allocations: 28 kB / 0.5649 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.7653, allocations: 15.94 kB / 0.5649 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/0.7654, allocations: 11.95 kB / 0.5649 GB, free: 148 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03132/0.7967, allocations: 10.45 MB / 0.5751 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.7967, allocations: 0 / 0.5751 GB, free: 5.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/0.799, allocations: 391.4 kB / 0.5755 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01083/0.8099, allocations: 2.477 MB / 0.5779 GB, free: 2.844 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005446/0.8104, allocations: 47.98 kB / 0.5779 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.8271, allocations: 6.105 MB / 0.5839 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.8271, allocations: 7.875 kB / 0.5839 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/0.847, allocations: 5.8 MB / 0.5896 GB, free: 6.688 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003994/0.8509, allocations: 0.8213 MB / 0.5904 GB, free: 5.863 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/0.8524, allocations: 36 kB / 0.5904 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003746/0.8562, allocations: 259.6 kB / 0.5907 GB, free: 5.574 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/0.8573, allocations: 162.2 kB / 0.5908 GB, free: 5.414 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000505/0.8578, allocations: 67.98 kB / 0.5909 GB, free: 5.348 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005602/0.8634, allocations: 1.951 MB / 0.5928 GB, free: 3.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8634, allocations: 0 / 0.5928 GB, free: 3.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009525/0.8729, allocations: 1.515 MB / 0.5943 GB, free: 1.902 MB / 442.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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001267/0.8742, allocations: 206.4 kB / 0.5945 GB, free: 1.699 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01523/0.8894, allocations: 4.796 MB / 0.5992 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.8894, allocations: 0 / 0.5992 GB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006222/0.8956, allocations: 1.872 MB / 0.601 GB, free: 11.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/0.9011, allocations: 453 kB / 0.6014 GB, free: 10.57 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02769/0.9288, allocations: 9.509 MB / 0.6107 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1801/1.109, allocations: 2.867 MB / 0.6135 GB, free: 155.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005363/1.114, allocations: 1.789 MB / 0.6152 GB, free: 155.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.115, allocations: 269.4 kB / 0.6155 GB, free: 155.4 MB / 458.7 MB Notification: Performance of SimCode: time 2.144e-06/1.115, allocations: 0 / 0.6155 GB, free: 155.4 MB / 458.7 MB Notification: Performance of Templates: time 0.08203/1.197, allocations: 57.39 MB / 0.6715 GB, free: 113.8 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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: 8.01468111795839]