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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001867/0.001867, allocations: 114.7 kB / 17.98 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002334/0.002334, allocations: 205.8 kB / 18.92 MB, free: 4.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 247.1 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2879/0.2879, allocations: 46.11 MB / 344.5 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 87.86 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 62.44 MB / 480.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3045/0.4222, allocations: 43.13 MB / 0.5111 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01968/0.442, allocations: 9.438 MB / 0.5203 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009872/0.4519, allocations: 188.8 kB / 0.5205 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005639/0.4576, allocations: 2.634 MB / 0.5231 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005922/0.4636, allocations: 1.869 MB / 0.5249 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.466, allocations: 0.9485 MB / 0.5258 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007539/0.4736, allocations: 5.57 MB / 0.5312 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004282/0.4779, allocations: 3.615 MB / 0.5348 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00313/0.481, allocations: 1.78 MB / 0.5365 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003264/0.4843, allocations: 2.697 MB / 0.5391 GB, free: 1.277 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008528/0.4852, allocations: 373.3 kB / 0.5395 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002646/0.4879, allocations: 1.419 MB / 0.5409 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.49, allocations: 2.212 MB / 0.543 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00336/0.4934, allocations: 2.505 MB / 0.5455 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007879/0.5013, allocations: 6.296 MB / 0.5516 GB, free: 7.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5013, allocations: 0 / 0.5516 GB, free: 7.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5014, allocations: 3.938 kB / 0.5516 GB, free: 7.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001722/0.5015, allocations: 8 kB / 0.5517 GB, free: 7.562 MB / 398.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.01322/0.5148, allocations: 5.724 MB / 0.5572 GB, free: 1.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.5148, allocations: 16.03 kB / 0.5573 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.5322, allocations: 2.59 MB / 0.5598 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00701/0.5392, allocations: 3.095 MB / 0.5628 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.5395, allocations: 259.9 kB / 0.5631 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.5405, allocations: 350.2 kB / 0.5634 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.5643, allocations: 12.36 MB / 0.5755 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001697/0.5645, allocations: 55.44 kB / 0.5755 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005403/0.5651, allocations: 165.5 kB / 0.5757 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004211/0.5693, allocations: 2.38 MB / 0.578 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02259/0.5919, allocations: 10.83 MB / 0.5886 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06508/0.657, allocations: 48.8 MB / 0.6362 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01668/0.6738, allocations: 6.046 MB / 0.6421 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/0.6786, allocations: 3.3 MB / 0.6454 GB, free: 5.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02327/0.7019, allocations: 13.51 MB / 0.6586 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.702, allocations: 59.81 kB / 0.6586 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.539e-06/0.7021, allocations: 4 kB / 0.6586 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1138/0.8159, allocations: 36.3 MB / 0.6941 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.8161, allocations: 209.9 kB / 0.6943 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007/0.8231, allocations: 4.361 MB / 0.6985 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006979/0.8238, allocations: 65.7 kB / 0.6986 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.8267, allocations: 3.379 MB / 0.7019 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/0.8283, allocations: 0.989 MB / 0.7029 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/0.8309, allocations: 1.412 MB / 0.7042 GB, free: 8.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.831, allocations: 305.1 kB / 0.7045 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005419/0.8364, allocations: 3.281 MB / 0.7077 GB, free: 5.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2203/1.057, allocations: 7.201 MB / 0.7148 GB, free: 190.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01403/1.071, allocations: 11.23 MB / 0.7257 GB, free: 182.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002375/1.071, allocations: 45.78 kB / 0.7258 GB, free: 182.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02989/1.101, allocations: 13.28 MB / 0.7387 GB, free: 178.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002207/1.101, allocations: 63.31 kB / 0.7388 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002102/1.102, allocations: 137.8 kB / 0.7389 GB, free: 178.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00992/1.111, allocations: 3.411 MB / 0.7423 GB, free: 177.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005225/1.117, allocations: 1.574 MB / 0.7438 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02177/1.139, allocations: 17.56 MB / 0.761 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005954/1.145, allocations: 433.4 kB / 0.7614 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/1.146, allocations: 415.8 kB / 0.7618 GB, free: 167.1 MB / 0.545 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.00452/1.151, allocations: 2.336 MB / 0.764 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009534/1.152, allocations: 405.6 kB / 0.7644 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/1.166, allocations: 8.002 MB / 0.7722 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/1.166, allocations: 32.88 kB / 0.7723 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.026e-05/1.167, allocations: 16 kB / 0.7723 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.058e-05/1.167, allocations: 15.83 kB / 0.7723 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/1.193, allocations: 15.53 MB / 0.7875 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.913e-05/1.193, allocations: 0 / 0.7875 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/1.195, allocations: 391.3 kB / 0.7878 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008888/1.204, allocations: 3.173 MB / 0.7909 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006209/1.205, allocations: 47.5 kB / 0.791 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01881/1.223, allocations: 15.76 MB / 0.8064 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.223, allocations: 0 / 0.8064 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/1.242, allocations: 12.13 MB / 0.8182 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.243, allocations: 455.5 kB / 0.8187 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.245, allocations: 48 kB / 0.8187 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002462/1.247, allocations: 191.4 kB / 0.8189 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007082/1.248, allocations: 152.2 kB / 0.819 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.248, allocations: 64 kB / 0.8191 GB, free: 108.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003917/1.252, allocations: 2.729 MB / 0.8218 GB, free: 105.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.252, allocations: 0 / 0.8218 GB, free: 105.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006612/1.259, allocations: 1.345 MB / 0.8231 GB, free: 104.5 MB / 0.545 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.0007896/1.259, allocations: 184.5 kB / 0.8232 GB, free: 104.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01798/1.277, allocations: 10.93 MB / 0.8339 GB, free: 93.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.277, allocations: 1.75 kB / 0.8339 GB, free: 93.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005195/1.283, allocations: 3.318 MB / 0.8372 GB, free: 90.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/1.287, allocations: 0.498 MB / 0.8376 GB, free: 89.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.309, allocations: 14.74 MB / 0.852 GB, free: 74.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/1.315, allocations: 3.646 MB / 0.8556 GB, free: 71.18 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.317, allocations: 335.4 kB / 0.8559 GB, free: 70.85 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/1.317, allocations: 0 / 0.8559 GB, free: 70.85 MB / 0.545 GB Notification: Performance of Templates: time 0.3504/1.667, allocations: 92.1 MB / 0.9459 GB, free: 170.9 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches