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.001666/0.001666, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002104/0.002104, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 246.4 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.2241/0.2241, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 80.56 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 62.45 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2697/0.407, allocations: 43.13 MB / 0.5104 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02036/0.4274, allocations: 9.444 MB / 0.5196 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009059/0.4365, allocations: 184.5 kB / 0.5198 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005985/0.4425, allocations: 2.642 MB / 0.5223 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006614/0.4492, allocations: 1.865 MB / 0.5242 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.4524, allocations: 0.9548 MB / 0.5251 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009017/0.4614, allocations: 5.568 MB / 0.5305 GB, free: 5.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005463/0.4669, allocations: 3.604 MB / 0.5341 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/0.4712, allocations: 1.786 MB / 0.5358 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004882/0.4761, allocations: 2.698 MB / 0.5384 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001898/0.4781, allocations: 367.5 kB / 0.5388 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.482, allocations: 1.42 MB / 0.5402 GB, free: 1.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003465/0.4855, allocations: 2.212 MB / 0.5423 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004744/0.4903, allocations: 2.498 MB / 0.5448 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.5009, allocations: 7.808 MB / 0.5524 GB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.501, allocations: 0 / 0.5524 GB, free: 6.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.501, allocations: 0 / 0.5524 GB, free: 6.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002571/0.5012, allocations: 4 kB / 0.5524 GB, free: 6.254 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.01369/0.5149, allocations: 5.736 MB / 0.558 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.515, allocations: 8.031 kB / 0.558 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/0.5322, allocations: 2.594 MB / 0.5605 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/0.5393, allocations: 3.096 MB / 0.5636 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.5395, allocations: 256.7 kB / 0.5638 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001038/0.5405, allocations: 356.2 kB / 0.5641 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02291/0.5635, allocations: 12.35 MB / 0.5762 GB, free: 13.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001597/0.5637, allocations: 55.44 kB / 0.5763 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005398/0.5642, allocations: 170.7 kB / 0.5764 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003856/0.5681, allocations: 2.38 MB / 0.5788 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.5913, allocations: 10.84 MB / 0.5893 GB, free: 15.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06475/0.656, allocations: 48.79 MB / 0.637 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/0.6716, allocations: 6.049 MB / 0.6429 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004425/0.6761, allocations: 3.297 MB / 0.6461 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01924/0.6954, allocations: 13.51 MB / 0.6593 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.6954, allocations: 55.81 kB / 0.6594 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.729e-06/0.6954, allocations: 0 / 0.6594 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.115/0.8105, allocations: 36.31 MB / 0.6948 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/0.8107, allocations: 209.9 kB / 0.695 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007682/0.8184, allocations: 4.358 MB / 0.6993 GB, free: 13.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008995/0.8193, allocations: 65.7 kB / 0.6993 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002943/0.8222, allocations: 3.373 MB / 0.7026 GB, free: 10.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001947/0.8242, allocations: 0.9893 MB / 0.7036 GB, free: 9.086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002481/0.8267, allocations: 1.422 MB / 0.705 GB, free: 7.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.8269, allocations: 305.1 kB / 0.7053 GB, free: 7.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005577/0.8325, allocations: 3.281 MB / 0.7085 GB, free: 4.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3128/1.145, allocations: 7.199 MB / 0.7155 GB, free: 191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/1.162, allocations: 11.24 MB / 0.7265 GB, free: 183.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002872/1.162, allocations: 39.44 kB / 0.7265 GB, free: 183.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03463/1.197, allocations: 13.27 MB / 0.7395 GB, free: 178.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003271/1.197, allocations: 62.91 kB / 0.7396 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003738/1.197, allocations: 137.4 kB / 0.7397 GB, free: 178.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/1.208, allocations: 3.404 MB / 0.743 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.214, allocations: 1.577 MB / 0.7445 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/1.238, allocations: 17.56 MB / 0.7617 GB, free: 168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007866/1.246, allocations: 429.6 kB / 0.7621 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002595/1.248, allocations: 415.8 kB / 0.7625 GB, free: 167.2 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.006415/1.255, allocations: 2.342 MB / 0.7648 GB, free: 165 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001494/1.256, allocations: 402.8 kB / 0.7652 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.273, allocations: 8.002 MB / 0.773 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-05/1.274, allocations: 38.45 kB / 0.773 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.034e-05/1.274, allocations: 12 kB / 0.773 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-05/1.274, allocations: 11.95 kB / 0.7731 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03215/1.306, allocations: 15.53 MB / 0.7882 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.245e-05/1.306, allocations: 0 / 0.7882 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/1.308, allocations: 391.4 kB / 0.7886 GB, free: 140.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008747/1.317, allocations: 3.177 MB / 0.7917 GB, free: 137.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009423/1.318, allocations: 44 kB / 0.7917 GB, free: 137.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.337, allocations: 15.76 MB / 0.8071 GB, free: 121.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.337, allocations: 3.938 kB / 0.8071 GB, free: 121.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/1.356, allocations: 12.13 MB / 0.819 GB, free: 109.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.358, allocations: 455.7 kB / 0.8194 GB, free: 109.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001148/1.359, allocations: 39.56 kB / 0.8194 GB, free: 109.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.362, allocations: 190.4 kB / 0.8196 GB, free: 108.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007318/1.362, allocations: 154.2 kB / 0.8198 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.362, allocations: 70.72 kB / 0.8198 GB, free: 108.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003619/1.366, allocations: 2.729 MB / 0.8225 GB, free: 106 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/1.366, allocations: 0 / 0.8225 GB, free: 106 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006649/1.373, allocations: 1.349 MB / 0.8238 GB, free: 104.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.0005589/1.373, allocations: 181.4 kB / 0.824 GB, free: 104.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01635/1.39, allocations: 10.92 MB / 0.8347 GB, free: 93.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.39, allocations: 8 kB / 0.8347 GB, free: 93.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004565/1.394, allocations: 3.315 MB / 0.8379 GB, free: 90.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.397, allocations: 0.5022 MB / 0.8384 GB, free: 89.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/1.417, allocations: 14.27 MB / 0.8523 GB, free: 75.47 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.421, allocations: 3.662 MB / 0.8559 GB, free: 71.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005273/1.427, allocations: 2.18 MB / 0.858 GB, free: 69.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000961/1.428, allocations: 279.4 kB / 0.8583 GB, free: 69.31 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.428, allocations: 1.969 kB / 0.8583 GB, free: 69.31 MB / 0.545 GB Notification: Performance of Templates: time 0.3777/1.805, allocations: 60.3 MB / 0.9172 GB, free: 182.5 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/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) Reference file matches