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.001117/0.001117, allocations: 119.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 77.09 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 62.44 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01366/0.1596, allocations: 11.95 MB / 493.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.1702, allocations: 4.382 MB / 497.8 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.1732, allocations: 75.75 kB / 497.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005608/0.1788, allocations: 2.749 MB / 0.4889 GB, free: 1.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.1858, allocations: 1.996 MB / 0.4908 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002827/0.1887, allocations: 1.006 MB / 0.4918 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009351/0.198, allocations: 5.369 MB / 0.4971 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005051/0.2031, allocations: 3.432 MB / 0.5004 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.2073, allocations: 1.748 MB / 0.5021 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004924/0.2122, allocations: 2.434 MB / 0.5045 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.2134, allocations: 368 kB / 0.5048 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2592/0.4726, allocations: 1.401 MB / 0.5062 GB, free: 18.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003089/0.4757, allocations: 2.172 MB / 0.5083 GB, free: 18.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003321/0.479, allocations: 2.48 MB / 0.5108 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009834/0.4889, allocations: 8.008 MB / 0.5186 GB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4889, allocations: 0 / 0.5186 GB, free: 16.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4889, allocations: 0.625 kB / 0.5186 GB, free: 16.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002217/0.4891, allocations: 0 / 0.5186 GB, free: 16.47 MB / 382.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.01499/0.5041, allocations: 5.732 MB / 0.5242 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5042, allocations: 9.156 kB / 0.5242 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.5195, allocations: 2.597 MB / 0.5267 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007941/0.5274, allocations: 3.157 MB / 0.5298 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.5277, allocations: 252.5 kB / 0.53 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001637/0.5293, allocations: 350.1 kB / 0.5304 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.5504, allocations: 12.36 MB / 0.5424 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/0.5506, allocations: 56.66 kB / 0.5425 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.5511, allocations: 167.6 kB / 0.5427 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003136/0.5542, allocations: 2.38 MB / 0.545 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/0.5747, allocations: 10.84 MB / 0.5556 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06556/0.6403, allocations: 48.59 MB / 0.603 GB, free: 8.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.6551, allocations: 6.042 MB / 0.6089 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004112/0.6593, allocations: 3.302 MB / 0.6121 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01907/0.6784, allocations: 13.51 MB / 0.6253 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.6785, allocations: 58.88 kB / 0.6254 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 6.813e-06/0.6785, allocations: 0 / 0.6254 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.102/0.7805, allocations: 36.28 MB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.7807, allocations: 209.9 kB / 0.661 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/0.7878, allocations: 4.357 MB / 0.6653 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009275/0.7887, allocations: 61.7 kB / 0.6653 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00246/0.7912, allocations: 3.381 MB / 0.6686 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.7926, allocations: 0.9912 MB / 0.6696 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002148/0.7948, allocations: 1.416 MB / 0.671 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7949, allocations: 301.1 kB / 0.6713 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004771/0.7997, allocations: 3.292 MB / 0.6745 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009515/0.8092, allocations: 7.203 MB / 0.6815 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/0.8249, allocations: 11.23 MB / 0.6925 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/0.8251, allocations: 42.62 kB / 0.6925 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.3185/1.144, allocations: 13.27 MB / 0.7055 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/1.144, allocations: 63.38 kB / 0.7056 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000371/1.144, allocations: 136 kB / 0.7057 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01223/1.156, allocations: 3.407 MB / 0.709 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007308/1.164, allocations: 1.573 MB / 0.7106 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.186, allocations: 17.56 MB / 0.7277 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006021/1.192, allocations: 432.3 kB / 0.7281 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.193, allocations: 409.5 kB / 0.7285 GB, free: 168.2 MB / 0.5294 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.004004/1.197, allocations: 2.353 MB / 0.7308 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/1.198, allocations: 402.5 kB / 0.7312 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01366/1.212, allocations: 8.005 MB / 0.739 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/1.212, allocations: 28 kB / 0.739 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/1.212, allocations: 12 kB / 0.739 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.835e-05/1.212, allocations: 15.89 kB / 0.7391 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02701/1.239, allocations: 15.45 MB / 0.7541 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.239, allocations: 4 kB / 0.7541 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001824/1.241, allocations: 383.5 kB / 0.7545 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007982/1.249, allocations: 3.165 MB / 0.7576 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005096/1.249, allocations: 47.94 kB / 0.7576 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/1.267, allocations: 15.76 MB / 0.773 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.267, allocations: 4 kB / 0.773 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.285, allocations: 12.13 MB / 0.7849 GB, free: 115.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001967/1.288, allocations: 455 kB / 0.7853 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.289, allocations: 51.31 kB / 0.7854 GB, free: 115.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.291, allocations: 187.7 kB / 0.7856 GB, free: 115.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000763/1.292, allocations: 154.2 kB / 0.7857 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.292, allocations: 69.78 kB / 0.7858 GB, free: 115 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004615/1.297, allocations: 2.729 MB / 0.7884 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.854e-06/1.297, allocations: 0 / 0.7884 GB, free: 112.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007544/1.304, allocations: 1.35 MB / 0.7897 GB, free: 110.9 MB / 0.5294 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.0007398/1.305, allocations: 179.3 kB / 0.7899 GB, free: 110.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01097/1.316, allocations: 8.211 MB / 0.7979 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.316, allocations: 0 / 0.7979 GB, free: 102.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.32, allocations: 3.318 MB / 0.8012 GB, free: 99.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.323, allocations: 0.4965 MB / 0.8017 GB, free: 98.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.34, allocations: 11.87 MB / 0.8133 GB, free: 86.83 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00326/1.344, allocations: 3.658 MB / 0.8168 GB, free: 83.14 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004443/1.348, allocations: 2.18 MB / 0.819 GB, free: 80.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/1.349, allocations: 283.4 kB / 0.8192 GB, free: 80.68 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/1.349, allocations: 0 / 0.8192 GB, free: 80.68 MB / 0.5294 GB Notification: Performance of Templates: time 0.0766/1.426, allocations: 54.58 MB / 0.8725 GB, free: 26.41 MB / 0.5294 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 -s cvode -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