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.001262/0.001262, allocations: 104.7 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2225/0.2225, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 77.25 kB / 417 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1144, allocations: 62.44 MB / 479.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2727/0.3872, allocations: 43.14 MB / 0.5104 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0258/0.4131, allocations: 9.433 MB / 0.5196 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01306/0.4262, allocations: 188 kB / 0.5198 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006859/0.4331, allocations: 2.637 MB / 0.5223 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0077/0.4409, allocations: 1.874 MB / 0.5242 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.4438, allocations: 0.9421 MB / 0.5251 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.4541, allocations: 5.571 MB / 0.5305 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005201/0.4594, allocations: 3.616 MB / 0.5341 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.4634, allocations: 1.773 MB / 0.5358 GB, free: 2.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.468, allocations: 2.707 MB / 0.5384 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001797/0.4699, allocations: 366.3 kB / 0.5388 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.4742, allocations: 1.423 MB / 0.5402 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003859/0.4781, allocations: 2.209 MB / 0.5423 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006514/0.4846, allocations: 2.501 MB / 0.5448 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.4976, allocations: 7.8 MB / 0.5524 GB, free: 6.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.4977, allocations: 0 / 0.5524 GB, free: 6.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4977, allocations: 0 / 0.5524 GB, free: 6.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003807/0.4981, allocations: 4 kB / 0.5524 GB, free: 6.086 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.0201/0.5182, allocations: 5.74 MB / 0.558 GB, free: 400 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.5183, allocations: 12.03 kB / 0.558 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01878/0.5371, allocations: 2.59 MB / 0.5605 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/0.5477, allocations: 3.096 MB / 0.5636 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004818/0.5483, allocations: 255 kB / 0.5638 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002288/0.5506, allocations: 350.6 kB / 0.5641 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02887/0.5795, allocations: 12.36 MB / 0.5762 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003841/0.5799, allocations: 55.48 kB / 0.5763 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/0.5818, allocations: 168.8 kB / 0.5764 GB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004786/0.5866, allocations: 2.374 MB / 0.5787 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0259/0.6125, allocations: 10.84 MB / 0.5893 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07438/0.687, allocations: 48.8 MB / 0.637 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/0.7046, allocations: 6.044 MB / 0.6429 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004741/0.7093, allocations: 3.302 MB / 0.6461 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02355/0.7329, allocations: 13.52 MB / 0.6593 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.4e-05/0.733, allocations: 55.86 kB / 0.6594 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 5.791e-06/0.7331, allocations: 4 kB / 0.6594 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.111/0.8441, allocations: 36.29 MB / 0.6948 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.8442, allocations: 209.9 kB / 0.695 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007782/0.852, allocations: 4.364 MB / 0.6993 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006706/0.8528, allocations: 71.73 kB / 0.6993 GB, free: 13.26 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.8553, allocations: 3.373 MB / 0.7026 GB, free: 9.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.8568, allocations: 0.9886 MB / 0.7036 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/0.8599, allocations: 1.419 MB / 0.705 GB, free: 7.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8601, allocations: 301.1 kB / 0.7053 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/0.8653, allocations: 3.281 MB / 0.7085 GB, free: 3.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2481/1.113, allocations: 7.2 MB / 0.7155 GB, free: 190.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01399/1.128, allocations: 11.24 MB / 0.7265 GB, free: 182.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002645/1.128, allocations: 38.19 kB / 0.7265 GB, free: 182.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02986/1.158, allocations: 13.27 MB / 0.7395 GB, free: 178.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000132/1.158, allocations: 69.44 kB / 0.7395 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/1.158, allocations: 134.8 kB / 0.7397 GB, free: 178.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00977/1.168, allocations: 3.418 MB / 0.743 GB, free: 177.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005536/1.173, allocations: 1.569 MB / 0.7445 GB, free: 177.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/1.195, allocations: 17.56 MB / 0.7617 GB, free: 167.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00682/1.202, allocations: 433.4 kB / 0.7621 GB, free: 167.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/1.203, allocations: 412 kB / 0.7625 GB, free: 167.1 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.004138/1.207, allocations: 2.342 MB / 0.7648 GB, free: 164.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009395/1.208, allocations: 398.8 kB / 0.7652 GB, free: 164.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.222, allocations: 8.006 MB / 0.773 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.385e-05/1.222, allocations: 31.94 kB / 0.773 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/1.222, allocations: 11.83 kB / 0.773 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.764e-05/1.222, allocations: 15.95 kB / 0.773 GB, free: 156.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0257/1.248, allocations: 15.54 MB / 0.7882 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/1.248, allocations: 0 / 0.7882 GB, free: 141.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002092/1.25, allocations: 387.4 kB / 0.7886 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008579/1.259, allocations: 3.173 MB / 0.7917 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005204/1.259, allocations: 44 kB / 0.7917 GB, free: 137.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/1.279, allocations: 15.76 MB / 0.8071 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/1.279, allocations: 4 kB / 0.8071 GB, free: 121.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/1.299, allocations: 12.13 MB / 0.819 GB, free: 109.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.3, allocations: 451.7 kB / 0.8194 GB, free: 109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/1.301, allocations: 44 kB / 0.8194 GB, free: 108.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002562/1.304, allocations: 187.7 kB / 0.8196 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006537/1.304, allocations: 154.2 kB / 0.8198 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/1.305, allocations: 67.52 kB / 0.8198 GB, free: 108.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004019/1.309, allocations: 2.729 MB / 0.8225 GB, free: 105.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.42e-07/1.309, allocations: 0 / 0.8225 GB, free: 105.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007192/1.316, allocations: 1.35 MB / 0.8238 GB, free: 104.5 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.0006947/1.317, allocations: 180.2 kB / 0.824 GB, free: 104.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.333, allocations: 10.93 MB / 0.8347 GB, free: 93.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.333, allocations: 0 / 0.8347 GB, free: 93.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004448/1.337, allocations: 3.317 MB / 0.8379 GB, free: 90.08 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/1.341, allocations: 0.5001 MB / 0.8384 GB, free: 89.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/1.36, allocations: 14.29 MB / 0.8523 GB, free: 75.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00318/1.363, allocations: 3.664 MB / 0.8559 GB, free: 71.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005117/1.368, allocations: 2.18 MB / 0.858 GB, free: 69.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009939/1.369, allocations: 283.4 kB / 0.8583 GB, free: 69.13 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/1.369, allocations: 0 / 0.8583 GB, free: 69.13 MB / 0.545 GB Notification: Performance of Templates: time 0.3144/1.684, allocations: 60.3 MB / 0.9172 GB, free: 182 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