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.00143/0.00143, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001626, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 227.4 MB / 247.1 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3454/0.3454, allocations: 46.1 MB / 344.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 76.31 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1432, allocations: 62.45 MB / 480.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.4228/0.566, allocations: 43.13 MB / 0.511 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04339/0.6095, allocations: 9.435 MB / 0.5202 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01783/0.6274, allocations: 184.7 kB / 0.5204 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01322/0.6407, allocations: 2.637 MB / 0.523 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.653, allocations: 1.872 MB / 0.5248 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.6584, allocations: 0.9466 MB / 0.5257 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01736/0.6759, allocations: 5.573 MB / 0.5312 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01095/0.6869, allocations: 3.611 MB / 0.5347 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006263/0.6932, allocations: 1.78 MB / 0.5364 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007157/0.7005, allocations: 2.698 MB / 0.5391 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002634/0.7032, allocations: 368 kB / 0.5394 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006738/0.71, allocations: 1.43 MB / 0.5408 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005981/0.716, allocations: 2.206 MB / 0.543 GB, free: 15.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008865/0.725, allocations: 2.501 MB / 0.5454 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.7397, allocations: 6.297 MB / 0.5516 GB, free: 7.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.7398, allocations: 0 / 0.5516 GB, free: 7.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.871e-06/0.7398, allocations: 0 / 0.5516 GB, free: 7.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003821/0.7402, allocations: 3.938 kB / 0.5516 GB, free: 7.57 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.03199/0.7722, allocations: 5.741 MB / 0.5572 GB, free: 1.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.514e-05/0.7723, allocations: 12.03 kB / 0.5572 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04557/0.8179, allocations: 2.587 MB / 0.5597 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/0.8405, allocations: 3.099 MB / 0.5628 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.8411, allocations: 263.5 kB / 0.563 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002879/0.844, allocations: 345.9 kB / 0.5633 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05604/0.9001, allocations: 12.35 MB / 0.5754 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004225/0.9006, allocations: 63.42 kB / 0.5755 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/0.9028, allocations: 165.2 kB / 0.5756 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007521/0.9104, allocations: 2.375 MB / 0.5779 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04275/0.9532, allocations: 10.85 MB / 0.5885 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1091/1.062, allocations: 48.81 MB / 0.6362 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0274/1.09, allocations: 6.037 MB / 0.6421 GB, free: 9.062 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00773/1.098, allocations: 3.3 MB / 0.6453 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03714/1.135, allocations: 13.51 MB / 0.6585 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.918e-05/1.135, allocations: 55.81 kB / 0.6586 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 1.038e-05/1.135, allocations: 0 / 0.6586 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1861/1.321, allocations: 36.3 MB / 0.694 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/1.321, allocations: 209.9 kB / 0.6942 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/1.334, allocations: 4.357 MB / 0.6985 GB, free: 14.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.335, allocations: 65.7 kB / 0.6985 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004132/1.339, allocations: 3.382 MB / 0.7018 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002466/1.341, allocations: 0.9848 MB / 0.7028 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006388/1.348, allocations: 1.419 MB / 0.7042 GB, free: 8.977 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.348, allocations: 301.1 kB / 0.7045 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00856/1.357, allocations: 3.289 MB / 0.7077 GB, free: 5.387 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.344/1.701, allocations: 7.191 MB / 0.7147 GB, free: 191.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01976/1.721, allocations: 11.24 MB / 0.7257 GB, free: 183.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003415/1.721, allocations: 43.72 kB / 0.7257 GB, free: 183.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.04262/1.764, allocations: 13.27 MB / 0.7387 GB, free: 179.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.764, allocations: 67.62 kB / 0.7387 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/1.764, allocations: 134 kB / 0.7389 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/1.775, allocations: 3.411 MB / 0.7422 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005719/1.781, allocations: 1.574 MB / 0.7437 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.803, allocations: 17.56 MB / 0.7609 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00636/1.81, allocations: 433.2 kB / 0.7613 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/1.811, allocations: 408 kB / 0.7617 GB, free: 168.3 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.004429/1.816, allocations: 2.352 MB / 0.764 GB, free: 166 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008948/1.817, allocations: 401.7 kB / 0.7644 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.832, allocations: 8.002 MB / 0.7722 GB, free: 157.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-05/1.832, allocations: 31.94 kB / 0.7722 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.27e-05/1.832, allocations: 11.98 kB / 0.7722 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.275e-05/1.832, allocations: 11.97 kB / 0.7722 GB, free: 157.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/1.86, allocations: 15.53 MB / 0.7874 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-05/1.86, allocations: 3.984 kB / 0.7874 GB, free: 142.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/1.863, allocations: 383.4 kB / 0.7878 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009222/1.872, allocations: 3.177 MB / 0.7909 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006195/1.873, allocations: 40 kB / 0.7909 GB, free: 138.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/1.892, allocations: 15.77 MB / 0.8063 GB, free: 122.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.892, allocations: 4 kB / 0.8063 GB, free: 122.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01944/1.912, allocations: 12.12 MB / 0.8182 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.913, allocations: 451.7 kB / 0.8186 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.914, allocations: 47.75 kB / 0.8186 GB, free: 110.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/1.917, allocations: 191 kB / 0.8188 GB, free: 110 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006688/1.917, allocations: 150.2 kB / 0.819 GB, free: 109.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.918, allocations: 63.98 kB / 0.819 GB, free: 109.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003809/1.921, allocations: 2.737 MB / 0.8217 GB, free: 107 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/1.921, allocations: 7.469 kB / 0.8217 GB, free: 107 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006784/1.928, allocations: 1.343 MB / 0.823 GB, free: 105.7 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.0007146/1.929, allocations: 173.5 kB / 0.8232 GB, free: 105.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01776/1.947, allocations: 10.93 MB / 0.8339 GB, free: 94.61 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.947, allocations: 1.125 kB / 0.8339 GB, free: 94.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0055/1.952, allocations: 3.317 MB / 0.8371 GB, free: 91.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.956, allocations: 0.5043 MB / 0.8376 GB, free: 90.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/1.978, allocations: 14.72 MB / 0.852 GB, free: 76.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003838/1.982, allocations: 3.658 MB / 0.8555 GB, free: 72.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.984, allocations: 335.4 kB / 0.8559 GB, free: 72.02 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/1.984, allocations: 0 / 0.8559 GB, free: 72.02 MB / 0.545 GB Notification: Performance of Templates: time 0.3519/2.336, allocations: 92.09 MB / 0.9458 GB, free: 171.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