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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00253/0.00253, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.896/1.896, allocations: 207.6 MB / 232.1 MB, free: 3.211 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.4278/0.4278, allocations: 44.24 MB / 328.4 MB, free: 6.191 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002235/0.002235, allocations: 72.88 kB / 465.5 MB, free: 45.53 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.16, allocations: 61.03 MB / 0.5142 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01096/0.171, allocations: 12.09 MB / 0.526 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.1826, allocations: 4.426 MB / 0.5303 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.1856, allocations: 71.81 kB / 0.5304 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005955/0.1916, allocations: 2.811 MB / 0.5332 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007065/0.1986, allocations: 2.093 MB / 0.5352 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.2016, allocations: 1.018 MB / 0.5362 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.2136, allocations: 5.131 MB / 0.5412 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006047/0.2196, allocations: 2.628 MB / 0.5438 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004446/0.2241, allocations: 1.772 MB / 0.5455 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005233/0.2293, allocations: 2.66 MB / 0.5481 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.2309, allocations: 368 kB / 0.5485 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.2349, allocations: 1.455 MB / 0.5499 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003912/0.2389, allocations: 2.267 MB / 0.5521 GB, free: 6.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005446/0.2443, allocations: 2.505 MB / 0.5545 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/0.2586, allocations: 8.108 MB / 0.5625 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2586, allocations: 0 / 0.5625 GB, free: 11.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2586, allocations: 4 kB / 0.5625 GB, free: 11.61 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003418/0.2589, allocations: 0 / 0.5625 GB, free: 11.61 MB / 430.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.01849/0.2774, allocations: 5.901 MB / 0.5682 GB, free: 5.633 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.2775, allocations: 15.84 kB / 0.5682 GB, free: 5.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.2942, allocations: 2.626 MB / 0.5708 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008927/0.3031, allocations: 3.324 MB / 0.574 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002978/0.3034, allocations: 250.8 kB / 0.5743 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001772/0.3052, allocations: 359.8 kB / 0.5746 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.3324, allocations: 12.36 MB / 0.5867 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/0.3326, allocations: 51.56 kB / 0.5867 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006854/0.3333, allocations: 167.8 kB / 0.5869 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004369/0.3377, allocations: 2.373 MB / 0.5892 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.364, allocations: 10.84 MB / 0.5998 GB, free: 4.379 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07372/0.4377, allocations: 48.69 MB / 0.6474 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3575/0.7951, allocations: 5.799 MB / 0.653 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005696/0.8008, allocations: 3.007 MB / 0.656 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01833/0.8192, allocations: 13.53 MB / 0.6692 GB, free: 111 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.8192, allocations: 63 kB / 0.6692 GB, free: 111 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.538e-06/0.8192, allocations: 6.188 kB / 0.6692 GB, free: 111 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.09273/0.912, allocations: 36.56 MB / 0.7049 GB, free: 79.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.633e-05/0.912, allocations: 209.9 kB / 0.7051 GB, free: 79.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/0.9174, allocations: 4.401 MB / 0.7094 GB, free: 75.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008488/0.9183, allocations: 69.45 kB / 0.7095 GB, free: 75.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001864/0.9201, allocations: 3.517 MB / 0.7129 GB, free: 71.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.9215, allocations: 1.028 MB / 0.7139 GB, free: 70.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/0.9234, allocations: 1.432 MB / 0.7153 GB, free: 69.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.9235, allocations: 305.1 kB / 0.7156 GB, free: 69.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003655/0.9271, allocations: 3.285 MB / 0.7188 GB, free: 65.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005109/0.9322, allocations: 7.2 MB / 0.7259 GB, free: 56.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.9426, allocations: 11.23 MB / 0.7368 GB, free: 43.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.9428, allocations: 40 kB / 0.7369 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02631/0.9691, allocations: 13.25 MB / 0.7498 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/0.9692, allocations: 64 kB / 0.7499 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/0.9693, allocations: 136 kB / 0.75 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008946/0.9783, allocations: 3.406 MB / 0.7533 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/0.9835, allocations: 1.575 MB / 0.7549 GB, free: 25.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/1.006, allocations: 17.56 MB / 0.772 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006581/1.013, allocations: 435.3 kB / 0.7724 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001799/1.014, allocations: 416 kB / 0.7728 GB, free: 6.488 MB / 0.4981 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00873/1.023, allocations: 2.347 MB / 0.7751 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001756/1.025, allocations: 424.8 kB / 0.7755 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.045, allocations: 7.971 MB / 0.7833 GB, free: 11.72 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.918e-05/1.045, allocations: 31.98 kB / 0.7834 GB, free: 11.69 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-05/1.045, allocations: 12 kB / 0.7834 GB, free: 11.68 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.016e-05/1.045, allocations: 7.969 kB / 0.7834 GB, free: 11.67 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03871/1.083, allocations: 15.37 MB / 0.7984 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-05/1.083, allocations: 4 kB / 0.7984 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/1.086, allocations: 383.5 kB / 0.7987 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/1.097, allocations: 3.169 MB / 0.8018 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008025/1.098, allocations: 40 kB / 0.8019 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/1.126, allocations: 15.81 MB / 0.8173 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/1.126, allocations: 7.469 kB / 0.8173 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03676/1.163, allocations: 12.12 MB / 0.8292 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004767/1.167, allocations: 0.955 MB / 0.8301 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/1.169, allocations: 46.91 kB / 0.8301 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003298/1.173, allocations: 191.7 kB / 0.8303 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008988/1.173, allocations: 154.2 kB / 0.8305 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/1.174, allocations: 64 kB / 0.8305 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005478/1.179, allocations: 2.757 MB / 0.8332 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.179, allocations: 0 / 0.8332 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008874/1.188, allocations: 1.367 MB / 0.8346 GB, free: 6.977 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 (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.000847/1.189, allocations: 186.2 kB / 0.8347 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01572/1.205, allocations: 7.845 MB / 0.8424 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/1.205, allocations: 1.125 kB / 0.8424 GB, free: 14.96 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006046/1.211, allocations: 3.064 MB / 0.8454 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.214, allocations: 0.4938 MB / 0.8459 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02624/1.24, allocations: 12.16 MB / 0.8578 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005659/1.246, allocations: 3.69 MB / 0.8614 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005516/1.251, allocations: 2.18 MB / 0.8635 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/1.253, allocations: 279.4 kB / 0.8638 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of SimCode: time 2.946e-06/1.253, allocations: 4 kB / 0.8638 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of Templates: time 0.3655/1.618, allocations: 59.93 MB / 0.9223 GB, free: 166.1 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 -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/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.895927531644702]