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.001727/0.001727, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002408/0.002408, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.6/1.6, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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.2381/0.2381, allocations: 46.93 MB / 360.8 MB, free: 3.93 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 0.002374/0.002374, allocations: 75.88 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3727, allocations: 66.09 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01436/0.3871, allocations: 10.44 MB / 0.5714 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.3971, allocations: 4.175 MB / 0.5755 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.3992, allocations: 83.56 kB / 0.5755 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006567/0.4058, allocations: 2.702 MB / 0.5782 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00687/0.4127, allocations: 2.07 MB / 0.5802 GB, free: 404 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002836/0.4155, allocations: 1.01 MB / 0.5812 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008505/0.424, allocations: 5.377 MB / 0.5864 GB, free: 9.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004783/0.4288, allocations: 2.868 MB / 0.5892 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.432, allocations: 1.779 MB / 0.591 GB, free: 5.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004731/0.4368, allocations: 2.507 MB / 0.5934 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001385/0.4381, allocations: 368 kB / 0.5938 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.4417, allocations: 1.303 MB / 0.595 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.4448, allocations: 2.244 MB / 0.5972 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003821/0.4486, allocations: 1.836 MB / 0.599 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.4605, allocations: 8.07 MB / 0.6069 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.4605, allocations: 0 / 0.6069 GB, free: 4.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4605, allocations: 0 / 0.6069 GB, free: 4.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002866/0.4608, allocations: 0 / 0.6069 GB, free: 4.91 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.01619/0.477, allocations: 5.806 MB / 0.6126 GB, free: 15.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.4771, allocations: 8.031 kB / 0.6126 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.4947, allocations: 2.626 MB / 0.6152 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008946/0.5036, allocations: 3.099 MB / 0.6182 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.5039, allocations: 254.8 kB / 0.6184 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001463/0.5054, allocations: 355.8 kB / 0.6188 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.5312, allocations: 12.45 MB / 0.6309 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/0.5314, allocations: 59.52 kB / 0.631 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004945/0.5319, allocations: 163.8 kB / 0.6311 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004156/0.536, allocations: 2.377 MB / 0.6335 GB, free: 8.762 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02438/0.5604, allocations: 10.81 MB / 0.644 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07019/0.6306, allocations: 45.35 MB / 0.6883 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/0.6468, allocations: 5.332 MB / 0.6935 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004734/0.6515, allocations: 3.01 MB / 0.6965 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/0.6754, allocations: 11.68 MB / 0.7079 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.53e-05/0.6755, allocations: 59.88 kB / 0.7079 GB, free: 11.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 7.464e-06/0.6755, allocations: 0 / 0.7079 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4134/1.089, allocations: 36.16 MB / 0.7432 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/1.089, allocations: 208.5 kB / 0.7434 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/1.094, allocations: 4.057 MB / 0.7474 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005381/1.094, allocations: 61.39 kB / 0.7475 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.096, allocations: 3.544 MB / 0.7509 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009594/1.097, allocations: 1.031 MB / 0.7519 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001601/1.098, allocations: 1.419 MB / 0.7533 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/1.098, allocations: 306.9 kB / 0.7536 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003664/1.102, allocations: 3.276 MB / 0.7568 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/1.107, allocations: 7.251 MB / 0.7639 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01284/1.12, allocations: 11.22 MB / 0.7748 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/1.12, allocations: 40 kB / 0.7749 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03835/1.158, allocations: 13.2 MB / 0.7878 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000247/1.159, allocations: 64.22 kB / 0.7878 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/1.159, allocations: 140 kB / 0.788 GB, free: 113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01447/1.173, allocations: 3.393 MB / 0.7913 GB, free: 109.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00794/1.181, allocations: 1.571 MB / 0.7928 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/1.203, allocations: 16.89 MB / 0.8093 GB, free: 91.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006016/1.209, allocations: 435.2 kB / 0.8097 GB, free: 90.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/1.211, allocations: 412 kB / 0.8101 GB, free: 90.19 MB / 0.5606 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.004968/1.216, allocations: 2.341 MB / 0.8124 GB, free: 87.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.217, allocations: 381.5 kB / 0.8128 GB, free: 87.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/1.232, allocations: 7.928 MB / 0.8205 GB, free: 79.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.982e-05/1.232, allocations: 28 kB / 0.8205 GB, free: 79.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/1.232, allocations: 12 kB / 0.8206 GB, free: 79.47 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.864e-05/1.232, allocations: 19.89 kB / 0.8206 GB, free: 79.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02938/1.262, allocations: 13.85 MB / 0.8341 GB, free: 65.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-05/1.262, allocations: 3.75 kB / 0.8341 GB, free: 65.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/1.264, allocations: 387.4 kB / 0.8345 GB, free: 65.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008779/1.272, allocations: 3.161 MB / 0.8376 GB, free: 62.09 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004438/1.273, allocations: 43.67 kB / 0.8376 GB, free: 62.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/1.293, allocations: 15.5 MB / 0.8527 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.293, allocations: 4 kB / 0.8527 GB, free: 46.45 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/1.312, allocations: 12.08 MB / 0.8645 GB, free: 34.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.314, allocations: 341.3 kB / 0.8649 GB, free: 33.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/1.315, allocations: 42.38 kB / 0.8649 GB, free: 33.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002633/1.317, allocations: 191.4 kB / 0.8651 GB, free: 33.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007325/1.318, allocations: 166 kB / 0.8652 GB, free: 33.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003257/1.319, allocations: 67.98 kB / 0.8653 GB, free: 33.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00371/1.322, allocations: 2.341 MB / 0.8676 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.322, allocations: 0 / 0.8676 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009595/1.332, allocations: 1.336 MB / 0.8689 GB, free: 29.84 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.0007917/1.333, allocations: 182.5 kB / 0.8691 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.348, allocations: 7.681 MB / 0.8766 GB, free: 21.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.348, allocations: 0 / 0.8766 GB, free: 21.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007176/1.356, allocations: 3.072 MB / 0.8796 GB, free: 18.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/1.361, allocations: 439.5 kB / 0.88 GB, free: 18.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/1.392, allocations: 12.05 MB / 0.8918 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008099/1.4, allocations: 3.138 MB / 0.8948 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.008129/1.408, allocations: 2.127 MB / 0.8969 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001655/1.41, allocations: 271.4 kB / 0.8972 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of SimCode: time 1.232e-06/1.41, allocations: 0 / 0.8972 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of Templates: time 0.1371/1.547, allocations: 58.99 MB / 0.9548 GB, free: 6.277 MB / 0.6231 GB " [Timeout remaining time 658] 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.457772698253393]