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.001476/0.001476, allocations: 79.73 kB / 20.51 MB, free: 1.117 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.001527/0.001527, allocations: 161.4 kB / 23.76 MB, free: 4.199 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.433/1.433, allocations: 158.6 MB / 185.5 MB, free: 6.125 MB / 174.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.2149/0.2149, allocations: 32.39 MB / 270.1 MB, free: 2.699 MB / 254.1 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: 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.002262/0.002262, allocations: 71.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 61.03 MB / 468.8 MB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2785/0.4219, allocations: 10.51 MB / 479.3 MB, free: 43.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008281/0.4302, allocations: 4.186 MB / 483.5 MB, free: 43.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.4317, allocations: 83.91 kB / 483.6 MB, free: 43.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.436, allocations: 2.698 MB / 486.3 MB, free: 42.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004701/0.4407, allocations: 2.113 MB / 488.4 MB, free: 41.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.4427, allocations: 1.016 MB / 489.4 MB, free: 40.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005445/0.4481, allocations: 5.134 MB / 494.5 MB, free: 38.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002794/0.4509, allocations: 2.888 MB / 497.4 MB, free: 37.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.453, allocations: 1.801 MB / 499.2 MB, free: 36.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003129/0.4561, allocations: 2.526 MB / 0.49 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007886/0.4569, allocations: 368 kB / 0.4903 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.4596, allocations: 1.311 MB / 0.4916 GB, free: 35.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002912/0.4626, allocations: 2.259 MB / 0.4938 GB, free: 35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003886/0.4664, allocations: 1.86 MB / 0.4956 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.4813, allocations: 8.146 MB / 0.5036 GB, free: 30.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.4813, allocations: 2.484 kB / 0.5036 GB, free: 30.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4813, allocations: 0 / 0.5036 GB, free: 30.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004208/0.4817, allocations: 0 / 0.5036 GB, free: 30.87 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02313/0.5048, allocations: 5.834 MB / 0.5093 GB, free: 27.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.5049, allocations: 9.641 kB / 0.5093 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/0.5249, allocations: 2.737 MB / 0.512 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5353, allocations: 3.263 MB / 0.5152 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003679/0.5357, allocations: 250.8 kB / 0.5154 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/0.5382, allocations: 355.2 kB / 0.5157 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/0.5661, allocations: 12.47 MB / 0.5279 GB, free: 16.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.5663, allocations: 63.56 kB / 0.528 GB, free: 16.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006124/0.5669, allocations: 163.8 kB / 0.5281 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003847/0.5707, allocations: 2.373 MB / 0.5305 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02127/0.592, allocations: 10.85 MB / 0.5411 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07125/0.6632, allocations: 45.52 MB / 0.5855 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0171/0.6803, allocations: 5.53 MB / 0.5909 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004818/0.6852, allocations: 3.004 MB / 0.5938 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02353/0.7087, allocations: 11.76 MB / 0.6053 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.7087, allocations: 59.81 kB / 0.6054 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=204): time 5.36e-06/0.7088, allocations: 0 / 0.6054 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=265): time 0.1208/0.8296, allocations: 37.11 MB / 0.6416 GB, free: 10.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.8298, allocations: 213.8 kB / 0.6418 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007272/0.8371, allocations: 4.081 MB / 0.6458 GB, free: 6.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009739/0.838, allocations: 69.7 kB / 0.6459 GB, free: 6.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003649/0.8417, allocations: 3.544 MB / 0.6493 GB, free: 2.664 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00217/0.8438, allocations: 1.027 MB / 0.6503 GB, free: 1.629 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002738/0.8466, allocations: 1.425 MB / 0.6517 GB, free: 200 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.8468, allocations: 301.1 kB / 0.652 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006165/0.8529, allocations: 3.289 MB / 0.6552 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01012/0.863, allocations: 7.262 MB / 0.6623 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/0.8799, allocations: 11.24 MB / 0.6733 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.88, allocations: 40 kB / 0.6733 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03061/0.9106, allocations: 13.22 MB / 0.6862 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.9109, allocations: 64 kB / 0.6863 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002707/0.9112, allocations: 144.1 kB / 0.6864 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/0.9231, allocations: 3.393 MB / 0.6898 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007543/0.9307, allocations: 1.579 MB / 0.6913 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3161/1.247, allocations: 16.88 MB / 0.7078 GB, free: 179.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006697/1.253, allocations: 453.1 kB / 0.7082 GB, free: 179.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001854/1.255, allocations: 409.2 kB / 0.7086 GB, free: 179.5 MB / 0.5919 GB 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.006174/1.261, allocations: 2.354 MB / 0.7109 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.263, allocations: 382.6 kB / 0.7113 GB, free: 178.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.278, allocations: 7.922 MB / 0.719 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/1.278, allocations: 31.72 kB / 0.719 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-05/1.278, allocations: 11.09 kB / 0.7191 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.158e-05/1.278, allocations: 14.91 kB / 0.7191 GB, free: 176 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03324/1.312, allocations: 13.87 MB / 0.7326 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/1.312, allocations: 0.5625 kB / 0.7326 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.314, allocations: 395.2 kB / 0.733 GB, free: 171.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/1.324, allocations: 3.165 MB / 0.7361 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008128/1.325, allocations: 43.53 kB / 0.7361 GB, free: 170.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/1.346, allocations: 15.51 MB / 0.7513 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.346, allocations: 0 / 0.7513 GB, free: 164.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/1.366, allocations: 12.09 MB / 0.7631 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004082/1.37, allocations: 0.8389 MB / 0.7639 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001707/1.372, allocations: 43.94 kB / 0.7639 GB, free: 155.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003455/1.375, allocations: 194.9 kB / 0.7641 GB, free: 155.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009726/1.376, allocations: 165.2 kB / 0.7643 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004739/1.377, allocations: 67.98 kB / 0.7643 GB, free: 155.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005635/1.382, allocations: 2.368 MB / 0.7667 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/1.382, allocations: 1.781 kB / 0.7667 GB, free: 153.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009492/1.392, allocations: 1.359 MB / 0.768 GB, free: 151.8 MB / 0.5919 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 (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.001186/1.393, allocations: 179.8 kB / 0.7682 GB, free: 151.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.406, allocations: 7.691 MB / 0.7757 GB, free: 144 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.406, allocations: 0 / 0.7757 GB, free: 144 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0055/1.412, allocations: 3.071 MB / 0.7787 GB, free: 140.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/1.416, allocations: 435.3 kB / 0.7791 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/1.44, allocations: 12.09 MB / 0.7909 GB, free: 128.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003986/1.444, allocations: 3.157 MB / 0.794 GB, free: 125.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00443/1.448, allocations: 2.135 MB / 0.7961 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008892/1.449, allocations: 260.5 kB / 0.7963 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.383e-06/1.449, allocations: 0 / 0.7963 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.08217/1.531, allocations: 54.05 MB / 0.8491 GB, free: 68.76 MB / 0.5919 GB " [Timeout remaining time 658] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/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.126297286013141]