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.00186/0.00186, allocations: 109 kB / 21.23 MB, free: 0.6641 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.00232/0.00232, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.635/1.635, allocations: 230.3 MB / 258 MB, free: 8.227 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.25/0.25, allocations: 46.89 MB / 361.3 MB, free: 4.531 MB / 286.1 MB " [Timeout remaining time 179] 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.002291/0.002291, allocations: 79.86 kB / 0.4971 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4553, allocations: 66.02 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01546/0.4708, allocations: 12.04 MB / 0.5733 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.4817, allocations: 4.428 MB / 0.5776 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.4845, allocations: 87.62 kB / 0.5777 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006293/0.4908, allocations: 2.795 MB / 0.5804 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007032/0.4979, allocations: 2.073 MB / 0.5824 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.5007, allocations: 1.002 MB / 0.5834 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009783/0.5105, allocations: 5.373 MB / 0.5887 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005667/0.5162, allocations: 2.632 MB / 0.5912 GB, free: 6.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004965/0.5211, allocations: 1.776 MB / 0.593 GB, free: 4.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006756/0.5279, allocations: 2.64 MB / 0.5956 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002061/0.53, allocations: 368 kB / 0.5959 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004962/0.5349, allocations: 1.451 MB / 0.5973 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004081/0.539, allocations: 2.244 MB / 0.5995 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005617/0.5446, allocations: 2.478 MB / 0.6019 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.5576, allocations: 8.039 MB / 0.6098 GB, free: 2.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5576, allocations: 0 / 0.6098 GB, free: 2.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5576, allocations: 0 / 0.6098 GB, free: 2.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003808/0.558, allocations: 0 / 0.6098 GB, free: 2.996 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.01894/0.5769, allocations: 5.802 MB / 0.6154 GB, free: 13.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.577, allocations: 8.031 kB / 0.6155 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02459/0.6016, allocations: 2.626 MB / 0.618 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.6129, allocations: 3.084 MB / 0.621 GB, free: 7.352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003992/0.6133, allocations: 258.8 kB / 0.6213 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002035/0.6153, allocations: 351.9 kB / 0.6216 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03501/0.6503, allocations: 12.36 MB / 0.6337 GB, free: 9.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002141/0.6505, allocations: 55.59 kB / 0.6337 GB, free: 9.527 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007569/0.6513, allocations: 155.8 kB / 0.6339 GB, free: 9.375 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006114/0.6574, allocations: 2.385 MB / 0.6362 GB, free: 6.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0356/0.693, allocations: 10.84 MB / 0.6468 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08841/0.7814, allocations: 48.56 MB / 0.6942 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/0.8017, allocations: 5.36 MB / 0.6995 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004982/0.8067, allocations: 3.014 MB / 0.7024 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0277/0.8344, allocations: 12.38 MB / 0.7145 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.8344, allocations: 55.88 kB / 0.7145 GB, free: 5.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 4.679e-06/0.8344, allocations: 0 / 0.7145 GB, free: 5.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.457/1.291, allocations: 36.07 MB / 0.7498 GB, free: 151 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/1.291, allocations: 205 kB / 0.75 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005386/1.297, allocations: 4.372 MB / 0.7542 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006516/1.298, allocations: 61.14 kB / 0.7543 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001657/1.299, allocations: 3.511 MB / 0.7577 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.3, allocations: 1.03 MB / 0.7587 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/1.302, allocations: 1.431 MB / 0.7601 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.002e-05/1.302, allocations: 308.8 kB / 0.7604 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/1.306, allocations: 3.289 MB / 0.7636 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005167/1.311, allocations: 7.198 MB / 0.7707 GB, free: 134.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/1.321, allocations: 11.24 MB / 0.7816 GB, free: 121 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.099e-05/1.321, allocations: 44 kB / 0.7817 GB, free: 121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02538/1.347, allocations: 13.26 MB / 0.7946 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001786/1.347, allocations: 63.98 kB / 0.7947 GB, free: 107.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002645/1.347, allocations: 140.2 kB / 0.7948 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/1.357, allocations: 3.401 MB / 0.7981 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005578/1.363, allocations: 1.579 MB / 0.7997 GB, free: 102.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/1.386, allocations: 17.44 MB / 0.8167 GB, free: 84.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/1.392, allocations: 431.5 kB / 0.8171 GB, free: 84.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/1.394, allocations: 408 kB / 0.8175 GB, free: 84.16 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 (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.004918/1.399, allocations: 2.35 MB / 0.8198 GB, free: 81.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.4, allocations: 421.2 kB / 0.8202 GB, free: 81.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/1.415, allocations: 7.967 MB / 0.828 GB, free: 73.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/1.415, allocations: 39.11 kB / 0.828 GB, free: 73.36 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/1.415, allocations: 11.8 kB / 0.828 GB, free: 73.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/1.415, allocations: 11.97 kB / 0.828 GB, free: 73.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/1.443, allocations: 15.33 MB / 0.843 GB, free: 58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/1.443, allocations: 0 / 0.843 GB, free: 58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.446, allocations: 383.4 kB / 0.8434 GB, free: 57.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009388/1.455, allocations: 3.169 MB / 0.8465 GB, free: 54.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006804/1.456, allocations: 44 kB / 0.8465 GB, free: 54.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01909/1.475, allocations: 15.7 MB / 0.8619 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.475, allocations: 0 / 0.8619 GB, free: 38.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01862/1.493, allocations: 12.13 MB / 0.8737 GB, free: 26.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/1.495, allocations: 397 kB / 0.8741 GB, free: 25.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007423/1.496, allocations: 40 kB / 0.8741 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002158/1.498, allocations: 195.6 kB / 0.8743 GB, free: 25.76 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005554/1.498, allocations: 166 kB / 0.8745 GB, free: 25.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002135/1.499, allocations: 68.23 kB / 0.8745 GB, free: 25.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004163/1.503, allocations: 2.725 MB / 0.8772 GB, free: 22.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/1.503, allocations: 0 / 0.8772 GB, free: 22.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007514/1.51, allocations: 1.348 MB / 0.8785 GB, free: 21.45 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.0006542/1.511, allocations: 186.2 kB / 0.8787 GB, free: 21.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.524, allocations: 7.851 MB / 0.8863 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.524, allocations: 4 kB / 0.8863 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004735/1.528, allocations: 3.056 MB / 0.8893 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003616/1.532, allocations: 0.5016 MB / 0.8898 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.553, allocations: 12.11 MB / 0.9017 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00512/1.558, allocations: 3.666 MB / 0.9052 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005674/1.564, allocations: 2.176 MB / 0.9074 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.565, allocations: 287.4 kB / 0.9076 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of SimCode: time 1.803e-06/1.565, allocations: 0 / 0.9076 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of Templates: time 0.1222/1.687, allocations: 62.57 MB / 0.9687 GB, free: 9.273 MB / 0.6387 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.0.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: 9.003489549271762]