Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001348/0.001348, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001456/0.001456, allocations: 209.5 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2441/0.2441, allocations: 46.96 MB / 361.6 MB, free: 3.992 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 0.4973 GB, free: 7.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3207, allocations: 66.03 MB / 0.5618 GB, free: 33.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008997/0.3297, allocations: 10.46 MB / 0.572 GB, free: 26.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007696/0.3374, allocations: 4.172 MB / 0.5761 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3394, allocations: 83.91 kB / 0.5762 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005074/0.3444, allocations: 2.696 MB / 0.5788 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.3499, allocations: 2.077 MB / 0.5808 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.3523, allocations: 1.003 MB / 0.5818 GB, free: 21.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009852/0.3622, allocations: 5.378 MB / 0.5871 GB, free: 19.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004398/0.3666, allocations: 2.879 MB / 0.5899 GB, free: 18.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00387/0.3705, allocations: 1.785 MB / 0.5916 GB, free: 17.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004794/0.3753, allocations: 2.645 MB / 0.5942 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.3766, allocations: 367.5 kB / 0.5946 GB, free: 16.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.3799, allocations: 1.314 MB / 0.5958 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002406/0.3823, allocations: 2.24 MB / 0.598 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.385, allocations: 1.842 MB / 0.5998 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01268/0.3977, allocations: 8.068 MB / 0.6077 GB, free: 7.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.3977, allocations: 0 / 0.6077 GB, free: 7.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3977, allocations: 0 / 0.6077 GB, free: 7.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003571/0.398, allocations: 0 / 0.6077 GB, free: 7.383 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.014/0.412, allocations: 5.802 MB / 0.6134 GB, free: 1.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4121, allocations: 12.03 kB / 0.6134 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.4278, allocations: 2.622 MB / 0.6159 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008814/0.4367, allocations: 3.103 MB / 0.619 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002638/0.4369, allocations: 266.8 kB / 0.6192 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001315/0.4382, allocations: 339.9 kB / 0.6196 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02369/0.4619, allocations: 12.47 MB / 0.6317 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001569/0.4621, allocations: 55.47 kB / 0.6318 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005155/0.4626, allocations: 167.8 kB / 0.6319 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003965/0.4666, allocations: 2.373 MB / 0.6343 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02432/0.4909, allocations: 10.81 MB / 0.6448 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07144/0.5623, allocations: 45.35 MB / 0.6891 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01607/0.5784, allocations: 5.332 MB / 0.6943 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004476/0.5829, allocations: 3.01 MB / 0.6973 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.6052, allocations: 11.69 MB / 0.7087 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.6052, allocations: 63.8 kB / 0.7087 GB, free: 13.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 4.899e-06/0.6052, allocations: 0 / 0.7087 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.1108/0.7161, allocations: 36.16 MB / 0.744 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.7162, allocations: 209.9 kB / 0.7442 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006347/0.7226, allocations: 4.052 MB / 0.7482 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007603/0.7233, allocations: 65.7 kB / 0.7483 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.002857/0.7262, allocations: 3.54 MB / 0.7517 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001626/0.7278, allocations: 1.031 MB / 0.7527 GB, free: 436 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3006/1.028, allocations: 1.422 MB / 0.7541 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.054e-05/1.028, allocations: 301.9 kB / 0.7544 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005051/1.034, allocations: 3.279 MB / 0.7576 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/1.039, allocations: 7.249 MB / 0.7647 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/1.051, allocations: 11.22 MB / 0.7756 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001748/1.051, allocations: 44.39 kB / 0.7757 GB, free: 138.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03126/1.083, allocations: 13.2 MB / 0.7886 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.083, allocations: 63.86 kB / 0.7886 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/1.083, allocations: 140.3 kB / 0.7888 GB, free: 134.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/1.094, allocations: 3.393 MB / 0.7921 GB, free: 133.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006574/1.101, allocations: 1.57 MB / 0.7936 GB, free: 133.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02298/1.124, allocations: 16.9 MB / 0.8101 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006647/1.13, allocations: 429.3 kB / 0.8105 GB, free: 124.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001892/1.132, allocations: 415.2 kB / 0.8109 GB, free: 124.1 MB / 0.5762 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.00617/1.138, allocations: 2.348 MB / 0.8132 GB, free: 122.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/1.14, allocations: 380.3 kB / 0.8136 GB, free: 122 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.156, allocations: 7.922 MB / 0.8213 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-05/1.156, allocations: 28 kB / 0.8213 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-05/1.156, allocations: 12 kB / 0.8214 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.703e-05/1.156, allocations: 11.95 kB / 0.8214 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/1.184, allocations: 13.86 MB / 0.8349 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/1.184, allocations: 4 kB / 0.8349 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002175/1.186, allocations: 383.4 kB / 0.8353 GB, free: 100.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008858/1.195, allocations: 3.167 MB / 0.8384 GB, free: 97.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007294/1.196, allocations: 43.98 kB / 0.8384 GB, free: 97.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0195/1.215, allocations: 15.5 MB / 0.8535 GB, free: 82.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.215, allocations: 0 / 0.8535 GB, free: 82.17 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/1.236, allocations: 12.08 MB / 0.8653 GB, free: 70.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/1.237, allocations: 346.8 kB / 0.8657 GB, free: 69.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001457/1.238, allocations: 43.72 kB / 0.8657 GB, free: 69.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/1.241, allocations: 194 kB / 0.8659 GB, free: 69.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000928/1.242, allocations: 162.1 kB / 0.866 GB, free: 69.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004832/1.243, allocations: 64 kB / 0.8661 GB, free: 69.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004444/1.247, allocations: 2.341 MB / 0.8684 GB, free: 67 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/1.247, allocations: 0 / 0.8684 GB, free: 67 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008351/1.256, allocations: 1.34 MB / 0.8697 GB, free: 65.67 MB / 0.5762 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.001181/1.257, allocations: 185.4 kB / 0.8699 GB, free: 65.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.27, allocations: 7.686 MB / 0.8774 GB, free: 57.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/1.27, allocations: 4 kB / 0.8774 GB, free: 57.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005171/1.275, allocations: 3.059 MB / 0.8804 GB, free: 54.73 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00438/1.279, allocations: 454.2 kB / 0.8808 GB, free: 54.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.306, allocations: 12.05 MB / 0.8926 GB, free: 42.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005979/1.312, allocations: 3.138 MB / 0.8956 GB, free: 39.05 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005401/1.317, allocations: 2.134 MB / 0.8977 GB, free: 36.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.318, allocations: 259.4 kB / 0.898 GB, free: 36.66 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/1.318, allocations: 0 / 0.898 GB, free: 36.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.09842/1.417, allocations: 61.94 MB / 0.9585 GB, free: 7.215 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 7.819925429997966]