Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 98.47 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 176.9 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 243 MB, free: 100 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2201/0.2201, allocations: 44.24 MB / 338.3 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003197, allocations: 12 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.117, allocations: 61.93 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.04104/0.1581, allocations: 42.23 MB / 0.5031 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.278/0.4362, allocations: 9.572 MB / 0.5124 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01098/0.4472, allocations: 185.5 kB / 0.5126 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.4495, allocations: 471 kB / 0.513 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007219/0.4567, allocations: 1.917 MB / 0.5149 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.4598, allocations: 0.9315 MB / 0.5158 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01144/0.4713, allocations: 7.419 MB / 0.5231 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00916/0.4805, allocations: 4.494 MB / 0.5275 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004833/0.4854, allocations: 1.369 MB / 0.5288 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004635/0.4901, allocations: 2.352 MB / 0.5311 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.4914, allocations: 167.7 kB / 0.5313 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.495, allocations: 1.314 MB / 0.5325 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002729/0.4978, allocations: 2.01 MB / 0.5345 GB, free: 4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004402/0.5022, allocations: 2.268 MB / 0.5367 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007465/0.5097, allocations: 6.147 MB / 0.5427 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5097, allocations: 0 / 0.5427 GB, free: 14.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5097, allocations: 0 / 0.5427 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003719/0.5101, allocations: 2.531 kB / 0.5427 GB, free: 14.4 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.01426/0.5244, allocations: 4.776 MB / 0.5474 GB, free: 9.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.5244, allocations: 11.97 kB / 0.5474 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01872/0.5431, allocations: 2.669 MB / 0.55 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007305/0.5505, allocations: 3.14 MB / 0.5531 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/0.5508, allocations: 259.8 kB / 0.5533 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.5523, allocations: 346.1 kB / 0.5536 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/0.5776, allocations: 12.4 MB / 0.5657 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/0.5779, allocations: 51.53 kB / 0.5658 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/0.5792, allocations: 162.4 kB / 0.566 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004582/0.5838, allocations: 2.383 MB / 0.5683 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0246/0.6084, allocations: 10.87 MB / 0.5789 GB, free: 8.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07249/0.681, allocations: 48.81 MB / 0.6266 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/0.698, allocations: 6.059 MB / 0.6325 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004713/0.7027, allocations: 3.301 MB / 0.6357 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02253/0.7253, allocations: 13.51 MB / 0.6489 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.7254, allocations: 55.88 kB / 0.649 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.15e-06/0.7254, allocations: 0 / 0.649 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1176/0.843, allocations: 36.41 MB / 0.6845 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.8432, allocations: 217.8 kB / 0.6847 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009641/0.8529, allocations: 4.369 MB / 0.689 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007881/0.8537, allocations: 61.7 kB / 0.689 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003184/0.8569, allocations: 3.376 MB / 0.6923 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/0.8585, allocations: 0.9828 MB / 0.6933 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.8596, allocations: 0.5994 MB / 0.6939 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.8598, allocations: 301.1 kB / 0.6942 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005445/0.8652, allocations: 3.289 MB / 0.6974 GB, free: 13.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008749/0.874, allocations: 7.2 MB / 0.7044 GB, free: 4.676 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2783/1.152, allocations: 11.24 MB / 0.7154 GB, free: 191.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/1.152, allocations: 39.44 kB / 0.7154 GB, free: 191.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02901/1.181, allocations: 13.28 MB / 0.7284 GB, free: 187.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.813e-05/1.182, allocations: 65.16 kB / 0.7285 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.182, allocations: 140.6 kB / 0.7286 GB, free: 187.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009929/1.192, allocations: 3.411 MB / 0.7319 GB, free: 186.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/1.197, allocations: 1.572 MB / 0.7335 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02039/1.217, allocations: 16.41 MB / 0.7495 GB, free: 179.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005867/1.223, allocations: 427.6 kB / 0.7499 GB, free: 179.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007384/1.224, allocations: 411.9 kB / 0.7503 GB, free: 179.6 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.003322/1.227, allocations: 2.345 MB / 0.7526 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006575/1.228, allocations: 403.6 kB / 0.753 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/1.243, allocations: 8.006 MB / 0.7608 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.23e-05/1.243, allocations: 28 kB / 0.7608 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-05/1.243, allocations: 12 kB / 0.7608 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.034e-05/1.243, allocations: 15.89 kB / 0.7608 GB, free: 170.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/1.267, allocations: 15.55 MB / 0.776 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.267, allocations: 4 kB / 0.776 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/1.269, allocations: 383.4 kB / 0.7764 GB, free: 154.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008908/1.278, allocations: 3.173 MB / 0.7795 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004462/1.278, allocations: 40 kB / 0.7795 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.296, allocations: 14.68 MB / 0.7939 GB, free: 136.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.296, allocations: 0.875 kB / 0.7939 GB, free: 136.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/1.314, allocations: 12.13 MB / 0.8057 GB, free: 124.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.315, allocations: 463.7 kB / 0.8061 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006338/1.316, allocations: 47.94 kB / 0.8062 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.318, allocations: 183.7 kB / 0.8064 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005542/1.318, allocations: 165.1 kB / 0.8065 GB, free: 123.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.319, allocations: 63.98 kB / 0.8066 GB, free: 123.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003454/1.322, allocations: 2.733 MB / 0.8093 GB, free: 120.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/1.322, allocations: 0 / 0.8093 GB, free: 120.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005624/1.328, allocations: 1.362 MB / 0.8106 GB, free: 119.3 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.0004601/1.328, allocations: 193.3 kB / 0.8108 GB, free: 119.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0106/1.339, allocations: 8.181 MB / 0.8188 GB, free: 110.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/1.339, allocations: 3.938 kB / 0.8188 GB, free: 110.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004538/1.343, allocations: 3.313 MB / 0.822 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/1.347, allocations: 481.9 kB / 0.8225 GB, free: 107.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/1.365, allocations: 14.84 MB / 0.8369 GB, free: 92.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003552/1.369, allocations: 3.649 MB / 0.8405 GB, free: 88.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.371, allocations: 337.3 kB / 0.8408 GB, free: 88.24 MB / 0.545 GB Notification: Performance of SimCode: time 1.603e-06/1.371, allocations: 0 / 0.8408 GB, free: 88.24 MB / 0.545 GB Notification: Performance of Templates: time 0.3359/1.706, allocations: 91.36 MB / 0.9301 GB, free: 184.9 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches