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.001309/0.001309, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3046/0.3046, allocations: 46.11 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.34 kB / 416.8 MB, free: 20.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1481, allocations: 62.44 MB / 479.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3679/0.5161, allocations: 43.15 MB / 0.5102 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.5421, allocations: 9.544 MB / 0.5195 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01331/0.5554, allocations: 187.2 kB / 0.5197 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006662/0.5621, allocations: 2.724 MB / 0.5223 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007918/0.5702, allocations: 1.879 MB / 0.5242 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.5732, allocations: 0.9321 MB / 0.5251 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01316/0.5864, allocations: 7.493 MB / 0.5324 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006603/0.5931, allocations: 3.35 MB / 0.5357 GB, free: 2.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.597, allocations: 1.538 MB / 0.5372 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004075/0.6011, allocations: 2.603 MB / 0.5397 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.6027, allocations: 251.9 kB / 0.54 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.6071, allocations: 1.374 MB / 0.5413 GB, free: 152 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004118/0.6112, allocations: 2.097 MB / 0.5434 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006267/0.6175, allocations: 2.374 MB / 0.5457 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.6282, allocations: 7.655 MB / 0.5531 GB, free: 5.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6282, allocations: 0 / 0.5531 GB, free: 5.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6282, allocations: 0 / 0.5531 GB, free: 5.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002445/0.6285, allocations: 4 kB / 0.5531 GB, free: 5.074 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.01537/0.6438, allocations: 5.736 MB / 0.5588 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6439, allocations: 15.97 kB / 0.5588 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01614/0.6601, allocations: 2.586 MB / 0.5613 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00757/0.6677, allocations: 3.092 MB / 0.5643 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.6679, allocations: 264.5 kB / 0.5646 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000788/0.6687, allocations: 356.9 kB / 0.5649 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/0.6925, allocations: 12.35 MB / 0.577 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000149/0.6927, allocations: 59.42 kB / 0.577 GB, free: 12.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004827/0.6932, allocations: 166.5 kB / 0.5772 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003872/0.697, allocations: 2.376 MB / 0.5795 GB, free: 9.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.7189, allocations: 10.84 MB / 0.5901 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07392/0.7929, allocations: 48.81 MB / 0.6378 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01766/0.8106, allocations: 6.035 MB / 0.6436 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004658/0.8153, allocations: 3.302 MB / 0.6469 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02489/0.8402, allocations: 13.52 MB / 0.6601 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.8403, allocations: 51.88 kB / 0.6601 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.33e-06/0.8403, allocations: 0 / 0.6601 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1168/0.9572, allocations: 36.29 MB / 0.6956 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.9574, allocations: 209.9 kB / 0.6958 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007935/0.9653, allocations: 4.357 MB / 0.7 GB, free: 12.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008002/0.9662, allocations: 61.7 kB / 0.7001 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/0.969, allocations: 3.376 MB / 0.7034 GB, free: 8.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001684/0.9708, allocations: 0.9962 MB / 0.7043 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003966/0.9747, allocations: 1.416 MB / 0.7057 GB, free: 6.496 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9749, allocations: 305.1 kB / 0.706 GB, free: 6.195 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008919/0.9838, allocations: 3.285 MB / 0.7092 GB, free: 2.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2767/1.261, allocations: 7.195 MB / 0.7163 GB, free: 190.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/1.275, allocations: 11.24 MB / 0.7272 GB, free: 183.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002474/1.276, allocations: 38.41 kB / 0.7273 GB, free: 183.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.0273/1.303, allocations: 13.27 MB / 0.7402 GB, free: 178.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000254/1.303, allocations: 68.53 kB / 0.7403 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002932/1.304, allocations: 134.3 kB / 0.7404 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00962/1.313, allocations: 3.406 MB / 0.7437 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006254/1.319, allocations: 1.573 MB / 0.7453 GB, free: 178 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/1.341, allocations: 16.37 MB / 0.7613 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007367/1.349, allocations: 428.2 kB / 0.7617 GB, free: 168.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/1.35, allocations: 408.9 kB / 0.7621 GB, free: 167.9 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.004874/1.355, allocations: 2.358 MB / 0.7644 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.356, allocations: 399.5 kB / 0.7648 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.37, allocations: 8.004 MB / 0.7726 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/1.37, allocations: 31.98 kB / 0.7726 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.37, allocations: 12 kB / 0.7726 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/1.37, allocations: 15.89 kB / 0.7726 GB, free: 157.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02566/1.396, allocations: 15.53 MB / 0.7878 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.396, allocations: 0 / 0.7878 GB, free: 141.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/1.398, allocations: 381.5 kB / 0.7882 GB, free: 141.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008486/1.406, allocations: 3.169 MB / 0.7913 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004967/1.407, allocations: 39.52 kB / 0.7913 GB, free: 138.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.018/1.425, allocations: 14.66 MB / 0.8056 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.425, allocations: 3.938 kB / 0.8056 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/1.443, allocations: 12.13 MB / 0.8175 GB, free: 111.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.444, allocations: 447.8 kB / 0.8179 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001203/1.445, allocations: 40 kB / 0.8179 GB, free: 110.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002661/1.448, allocations: 190.4 kB / 0.8181 GB, free: 110.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006546/1.449, allocations: 158.2 kB / 0.8183 GB, free: 110.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000262/1.449, allocations: 67.98 kB / 0.8183 GB, free: 110.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004832/1.454, allocations: 2.725 MB / 0.821 GB, free: 107.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/1.454, allocations: 0 / 0.821 GB, free: 107.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00736/1.461, allocations: 1.35 MB / 0.8223 GB, free: 106.4 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.0006988/1.462, allocations: 185.6 kB / 0.8225 GB, free: 106.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01236/1.474, allocations: 8.182 MB / 0.8305 GB, free: 98.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.474, allocations: 4.188 kB / 0.8305 GB, free: 98.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004421/1.479, allocations: 3.327 MB / 0.8337 GB, free: 94.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/1.482, allocations: 480.7 kB / 0.8342 GB, free: 94.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02079/1.503, allocations: 14.27 MB / 0.8481 GB, free: 79.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003518/1.507, allocations: 3.67 MB / 0.8517 GB, free: 76.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005162/1.512, allocations: 2.176 MB / 0.8538 GB, free: 74.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008982/1.513, allocations: 287.4 kB / 0.8541 GB, free: 73.79 MB / 0.545 GB Notification: Performance of SimCode: time 1.783e-06/1.513, allocations: 0 / 0.8541 GB, free: 73.79 MB / 0.545 GB Notification: Performance of Templates: time 0.345/1.858, allocations: 58 MB / 0.9107 GB, free: 183 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