Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001764/0.001764, allocations: 85.89 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002159/0.002159, allocations: 159.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.932e-05, allocations: 6.219 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2189/0.2189, allocations: 10.45 MB / 453.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.2275, allocations: 4.188 MB / 457.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.2296, allocations: 85.94 kB / 457.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005431/0.2351, allocations: 2.825 MB / 460.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.2408, allocations: 2.144 MB / 462.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.2432, allocations: 1.116 MB / 463.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008513/0.2518, allocations: 6.08 MB / 469.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.2559, allocations: 3.384 MB / 472.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/0.2602, allocations: 2.692 MB / 475.6 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004214/0.2644, allocations: 2.734 MB / 478.4 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008993/0.2653, allocations: 380.2 kB / 478.7 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00286/0.2681, allocations: 1.369 MB / 480.1 MB, free: 196 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002593/0.2707, allocations: 2.335 MB / 482.4 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002849/0.2736, allocations: 1.441 MB / 483.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.2858, allocations: 8.158 MB / 492 MB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2858, allocations: 0 / 492 MB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2858, allocations: 0 / 492 MB, free: 4.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002184/0.286, allocations: 0 / 492 MB, free: 4.477 MB / 382.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.01454/0.3006, allocations: 5.861 MB / 497.9 MB, free: 14.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3006, allocations: 12.03 kB / 497.9 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/0.3202, allocations: 2.74 MB / 0.4889 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007387/0.3276, allocations: 3.079 MB / 0.4919 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.3278, allocations: 254.8 kB / 0.4922 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007968/0.3286, allocations: 348.3 kB / 0.4925 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/0.3514, allocations: 12.49 MB / 0.5047 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.3516, allocations: 51.58 kB / 0.5047 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004888/0.352, allocations: 163.8 kB / 0.5049 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004593/0.3566, allocations: 2.377 MB / 0.5072 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02395/0.3806, allocations: 10.84 MB / 0.5178 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06905/0.4496, allocations: 45.64 MB / 0.5624 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0319/0.4815, allocations: 5.535 MB / 0.5678 GB, free: 8.875 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009541/0.4911, allocations: 3.009 MB / 0.5707 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0404/0.5315, allocations: 11.96 MB / 0.5824 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.742e-05/0.5316, allocations: 51.88 kB / 0.5824 GB, free: 9.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 7.995e-06/0.5316, allocations: 4 kB / 0.5825 GB, free: 9.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1286/0.6601, allocations: 37.23 MB / 0.6188 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001756/0.6603, allocations: 213.9 kB / 0.619 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009186/0.6695, allocations: 4.204 MB / 0.6231 GB, free: 52 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009269/0.6704, allocations: 73.78 kB / 0.6232 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004517/0.6749, allocations: 3.501 MB / 0.6266 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001981/0.6769, allocations: 1.015 MB / 0.6276 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00444/0.6814, allocations: 1.406 MB / 0.629 GB, free: 10 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6815, allocations: 309.1 kB / 0.6293 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/0.6879, allocations: 3.281 MB / 0.6325 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2488/0.9368, allocations: 7.254 MB / 0.6396 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.9512, allocations: 11.24 MB / 0.6505 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001988/0.9514, allocations: 39.22 kB / 0.6506 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03061/0.982, allocations: 13.22 MB / 0.6635 GB, free: 152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/0.9823, allocations: 64.53 kB / 0.6635 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003441/0.9826, allocations: 135.7 kB / 0.6637 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/0.9932, allocations: 3.393 MB / 0.667 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/0.9991, allocations: 1.586 MB / 0.6685 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02305/1.022, allocations: 16.92 MB / 0.6851 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007618/1.03, allocations: 0.4993 MB / 0.6855 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/1.031, allocations: 414.7 kB / 0.6859 GB, free: 142.3 MB / 0.5294 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.005311/1.037, allocations: 2.339 MB / 0.6882 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.038, allocations: 381.1 kB / 0.6886 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/1.053, allocations: 7.926 MB / 0.6963 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.723e-05/1.053, allocations: 30.03 kB / 0.6964 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-05/1.053, allocations: 15.94 kB / 0.6964 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.902e-05/1.053, allocations: 14.84 kB / 0.6964 GB, free: 132 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.079, allocations: 13.96 MB / 0.71 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.079, allocations: 0 / 0.71 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0021/1.081, allocations: 391.4 kB / 0.7104 GB, free: 117.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009155/1.09, allocations: 3.163 MB / 0.7135 GB, free: 114.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004792/1.09, allocations: 42.52 kB / 0.7135 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/1.11, allocations: 15.52 MB / 0.7287 GB, free: 99.01 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.11, allocations: 4 kB / 0.7287 GB, free: 99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0192/1.129, allocations: 12.09 MB / 0.7405 GB, free: 87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001498/1.131, allocations: 386.5 kB / 0.7409 GB, free: 86.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/1.132, allocations: 40 kB / 0.7409 GB, free: 86.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003401/1.136, allocations: 259.5 kB / 0.7411 GB, free: 86.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007271/1.136, allocations: 169.7 kB / 0.7413 GB, free: 86.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/1.137, allocations: 64 kB / 0.7414 GB, free: 86.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00413/1.141, allocations: 2.466 MB / 0.7438 GB, free: 83.67 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/1.141, allocations: 0 / 0.7438 GB, free: 83.67 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00627/1.147, allocations: 1.477 MB / 0.7452 GB, free: 82.2 MB / 0.5294 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.0007118/1.148, allocations: 197.1 kB / 0.7454 GB, free: 82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.159, allocations: 7.693 MB / 0.7529 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.159, allocations: 0 / 0.7529 GB, free: 74.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004529/1.163, allocations: 3.061 MB / 0.7559 GB, free: 71.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/1.167, allocations: 437.5 kB / 0.7563 GB, free: 70.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02224/1.19, allocations: 12 MB / 0.768 GB, free: 58.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005369/1.195, allocations: 3.153 MB / 0.7711 GB, free: 55.66 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005359/1.2, allocations: 2.131 MB / 0.7732 GB, free: 53.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/1.202, allocations: 276.4 kB / 0.7735 GB, free: 53.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/1.202, allocations: 0 / 0.7735 GB, free: 53.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.08515/1.287, allocations: 56 MB / 0.8282 GB, free: 13.7 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.218935560435057]