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.0008434/0.0008434, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009881/0.0009881, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 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 0.9611/0.9611, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2853/0.2853, allocations: 34.27 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] 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 1.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.917e-05, allocations: 5.688 kB / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009118/0.009137, allocations: 11.53 MB / 389.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006579/0.01572, allocations: 4.293 MB / 393.9 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.01672, allocations: 83.62 kB / 393.9 MB, free: 3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002945/0.01966, allocations: 2.951 MB / 396.9 MB, free: 40 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.02277, allocations: 2.135 MB / 399 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.02431, allocations: 1.127 MB / 400.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005259/0.02957, allocations: 6.104 MB / 406.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0033/0.03287, allocations: 3.498 MB / 409.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/0.03627, allocations: 2.705 MB / 412.5 MB, free: 404 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.03894, allocations: 2.783 MB / 415.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007134/0.03966, allocations: 379.9 kB / 415.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001775/0.04143, allocations: 1.357 MB / 417 MB, free: 11.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.04311, allocations: 2.357 MB / 419.3 MB, free: 9.512 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001376/0.04449, allocations: 1.445 MB / 420.8 MB, free: 8.062 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005295/0.04979, allocations: 5.387 MB / 426.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.04979, allocations: 0 / 426.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.04979, allocations: 0 / 426.2 MB, free: 2.656 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.04991, allocations: 0 / 426.2 MB, free: 2.656 MB / 394.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.00783/0.05774, allocations: 6.242 MB / 432.4 MB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.05779, allocations: 8.031 kB / 432.4 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009288/0.06707, allocations: 3.161 MB / 435.6 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.07062, allocations: 2.824 MB / 438.4 MB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.07075, allocations: 254.8 kB / 438.6 MB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.07133, allocations: 356.2 kB / 439 MB, free: 5.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1944/0.2657, allocations: 7.64 MB / 446.6 MB, free: 94.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/0.2658, allocations: 50.02 kB / 446.7 MB, free: 94.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004088/0.2662, allocations: 165.2 kB / 446.8 MB, free: 94.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002681/0.2689, allocations: 2.384 MB / 449.2 MB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.2795, allocations: 4.433 MB / 453.7 MB, free: 94.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.3082, allocations: 51.23 MB / 0.493 GB, free: 52.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007633/0.3158, allocations: 3.422 MB / 0.4964 GB, free: 52.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.3171, allocations: 1.015 MB / 0.4974 GB, free: 51.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008675/0.3258, allocations: 7.872 MB / 0.5051 GB, free: 47.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3259, allocations: 59.59 kB / 0.5051 GB, free: 47.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 3.958e-06/0.3259, allocations: 0 / 0.5051 GB, free: 47.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.04959/0.3754, allocations: 25.95 MB / 0.5305 GB, free: 28.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3755, allocations: 205.9 kB / 0.5307 GB, free: 28.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.3783, allocations: 3.697 MB / 0.5343 GB, free: 24.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001514/0.3784, allocations: 65.7 kB / 0.5343 GB, free: 24.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.3796, allocations: 3.679 MB / 0.5379 GB, free: 20.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006155/0.3802, allocations: 1.07 MB / 0.539 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001219/0.3814, allocations: 1.488 MB / 0.5404 GB, free: 18.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.3815, allocations: 480.8 kB / 0.5409 GB, free: 17.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3829, allocations: 1.048 MB / 0.5419 GB, free: 16.76 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.3857, allocations: 6.882 MB / 0.5486 GB, free: 7.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005673/0.3914, allocations: 8.731 MB / 0.5572 GB, free: 11.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.441e-05/0.3914, allocations: 36 kB / 0.5572 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01146/0.4029, allocations: 8.273 MB / 0.5653 GB, free: 3.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/0.4029, allocations: 67.94 kB / 0.5653 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.4031, allocations: 136 kB / 0.5655 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005509/0.4086, allocations: 2.673 MB / 0.5681 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.4115, allocations: 1.575 MB / 0.5696 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/0.4205, allocations: 6.719 MB / 0.5762 GB, free: 8.266 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/0.4236, allocations: 0.4915 MB / 0.5767 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/0.424, allocations: 412 kB / 0.577 GB, free: 7.371 MB / 442.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.001422/0.4254, allocations: 0.7002 MB / 0.5777 GB, free: 6.656 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/0.426, allocations: 453.5 kB / 0.5782 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007541/0.4336, allocations: 4.295 MB / 0.5824 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.4336, allocations: 28 kB / 0.5824 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4336, allocations: 12 kB / 0.5824 GB, free: 1.852 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.4336, allocations: 11.95 kB / 0.5824 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/0.4467, allocations: 9.288 MB / 0.5915 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.4467, allocations: 4 kB / 0.5915 GB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009912/0.4477, allocations: 387.4 kB / 0.5919 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005113/0.4528, allocations: 2.438 MB / 0.5942 GB, free: 5.664 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.453, allocations: 44 kB / 0.5943 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1826/0.6356, allocations: 5.797 MB / 0.5999 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.6356, allocations: 2.906 kB / 0.5999 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009045/0.6446, allocations: 5.549 MB / 0.6054 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000831/0.6455, allocations: 375.8 kB / 0.6057 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.6458, allocations: 45.42 kB / 0.6058 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/0.647, allocations: 247.3 kB / 0.606 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/0.6476, allocations: 162.6 kB / 0.6062 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/0.6477, allocations: 62.44 kB / 0.6062 GB, free: 123.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002033/0.6497, allocations: 1.609 MB / 0.6078 GB, free: 123.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6497, allocations: 0 / 0.6078 GB, free: 123.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004109/0.6538, allocations: 1.482 MB / 0.6092 GB, free: 123.7 MB / 458.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.0004374/0.6543, allocations: 193 kB / 0.6094 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005774/0.6601, allocations: 4.407 MB / 0.6137 GB, free: 123 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6601, allocations: 0 / 0.6137 GB, free: 123 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/0.6621, allocations: 1.749 MB / 0.6154 GB, free: 122.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6636, allocations: 458.9 kB / 0.6159 GB, free: 122.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.6753, allocations: 9.345 MB / 0.625 GB, free: 119.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.6769, allocations: 1.455 MB / 0.6264 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003038/0.6799, allocations: 1.779 MB / 0.6281 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008174/0.6808, allocations: 271.5 kB / 0.6284 GB, free: 119.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6808, allocations: 0 / 0.6284 GB, free: 119.1 MB / 458.7 MB Notification: Performance of Templates: time 0.07489/0.7557, allocations: 56.86 MB / 0.6839 GB, free: 78.96 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9571395688690245]