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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001152/0.001152, allocations: 102.3 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3446/0.3446, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 71.83 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3567, allocations: 62.02 MB / 0.5152 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03273/0.3895, allocations: 43.43 MB / 0.5576 GB, free: 6.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02443/0.4139, allocations: 9.673 MB / 0.567 GB, free: 216 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01175/0.4258, allocations: 188.7 kB / 0.5672 GB, free: 184 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006647/0.4324, allocations: 2.725 MB / 0.5699 GB, free: 14.92 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.4394, allocations: 1.893 MB / 0.5717 GB, free: 14.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.4423, allocations: 0.9296 MB / 0.5726 GB, free: 13.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.4541, allocations: 7.563 MB / 0.58 GB, free: 7.059 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006423/0.4605, allocations: 3.353 MB / 0.5833 GB, free: 3.664 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.4647, allocations: 1.557 MB / 0.5848 GB, free: 2.102 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004736/0.4694, allocations: 2.601 MB / 0.5873 GB, free: 15.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.4715, allocations: 252 kB / 0.5876 GB, free: 15.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.4759, allocations: 1.381 MB / 0.5889 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003572/0.4795, allocations: 2.115 MB / 0.591 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004542/0.484, allocations: 2.403 MB / 0.5933 GB, free: 9.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008976/0.493, allocations: 7.706 MB / 0.6009 GB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4931, allocations: 0 / 0.6009 GB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.4931, allocations: 0 / 0.6009 GB, free: 1.594 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002074/0.4933, allocations: 0 / 0.6009 GB, free: 1.594 MB / 410.7 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.01372/0.507, allocations: 5.777 MB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.5071, allocations: 8.031 kB / 0.6065 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01897/0.5261, allocations: 2.599 MB / 0.609 GB, free: 9.129 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008307/0.5344, allocations: 3.084 MB / 0.6121 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.5347, allocations: 250.8 kB / 0.6123 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.5362, allocations: 363.7 kB / 0.6126 GB, free: 5.383 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02254/0.5587, allocations: 12.36 MB / 0.6247 GB, free: 8.219 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.5589, allocations: 51.52 kB / 0.6248 GB, free: 8.168 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004756/0.5594, allocations: 167.8 kB / 0.6249 GB, free: 8.004 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.5634, allocations: 2.377 MB / 0.6272 GB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/0.5876, allocations: 10.84 MB / 0.6378 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3768/0.9644, allocations: 48.81 MB / 0.6855 GB, free: 101 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/0.9793, allocations: 6.044 MB / 0.6914 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00381/0.9831, allocations: 3.296 MB / 0.6946 GB, free: 99.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02218/1.005, allocations: 13.51 MB / 0.7078 GB, free: 92.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/1.005, allocations: 58.64 kB / 0.7079 GB, free: 92.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 4.869e-06/1.005, allocations: 4.812 kB / 0.7079 GB, free: 92.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1022/1.108, allocations: 36.3 MB / 0.7433 GB, free: 74.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.108, allocations: 217.3 kB / 0.7435 GB, free: 74.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00515/1.113, allocations: 4.369 MB / 0.7478 GB, free: 69.91 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005913/1.114, allocations: 65.7 kB / 0.7478 GB, free: 69.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/1.115, allocations: 3.373 MB / 0.7511 GB, free: 66.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.117, allocations: 0.9826 MB / 0.7521 GB, free: 65.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/1.118, allocations: 1.424 MB / 0.7535 GB, free: 64.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.484e-05/1.118, allocations: 301.1 kB / 0.7538 GB, free: 63.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003749/1.122, allocations: 3.285 MB / 0.757 GB, free: 60.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004986/1.127, allocations: 7.203 MB / 0.764 GB, free: 51.42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009911/1.137, allocations: 11.24 MB / 0.775 GB, free: 38.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.724e-05/1.137, allocations: 40 kB / 0.775 GB, free: 38.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02273/1.16, allocations: 13.27 MB / 0.788 GB, free: 25.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/1.16, allocations: 64 kB / 0.7881 GB, free: 25.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-05/1.16, allocations: 139.9 kB / 0.7882 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009307/1.17, allocations: 3.396 MB / 0.7915 GB, free: 21.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/1.174, allocations: 1.583 MB / 0.793 GB, free: 19.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/1.194, allocations: 16.38 MB / 0.809 GB, free: 3.422 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005798/1.199, allocations: 435.3 kB / 0.8095 GB, free: 3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.201, allocations: 412 kB / 0.8098 GB, free: 2.598 MB / 490.7 MB 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.003432/1.204, allocations: 2.343 MB / 0.8121 GB, free: 252 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007483/1.205, allocations: 410.9 kB / 0.8125 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/1.222, allocations: 8.006 MB / 0.8203 GB, free: 7.805 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.84e-05/1.222, allocations: 31.52 kB / 0.8204 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.222, allocations: 8 kB / 0.8204 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-05/1.222, allocations: 15.95 kB / 0.8204 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03034/1.253, allocations: 15.52 MB / 0.8356 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/1.253, allocations: 7.938 kB / 0.8356 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.255, allocations: 383.5 kB / 0.8359 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009858/1.265, allocations: 3.169 MB / 0.839 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005001/1.265, allocations: 44.06 kB / 0.8391 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02186/1.287, allocations: 14.65 MB / 0.8534 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.287, allocations: 7.766 kB / 0.8534 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.471/1.758, allocations: 100.2 MB / 0.9512 GB, free: 166.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.759, allocations: 463.4 kB / 0.9516 GB, free: 166.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007798/1.76, allocations: 43.23 kB / 0.9517 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/1.762, allocations: 189.6 kB / 0.9519 GB, free: 166.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/1.763, allocations: 150.7 kB / 0.952 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.763, allocations: 67.19 kB / 0.9521 GB, free: 166.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003715/1.767, allocations: 2.737 MB / 0.9547 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.71e-07/1.767, allocations: 0 / 0.9547 GB, free: 164.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007881/1.775, allocations: 1.921 MB / 0.9566 GB, free: 162.8 MB / 0.5573 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.0006675/1.776, allocations: 176.8 kB / 0.9568 GB, free: 162.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.787, allocations: 8.194 MB / 0.9648 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.788, allocations: 4 kB / 0.9648 GB, free: 154.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/1.792, allocations: 3.313 MB / 0.968 GB, free: 151.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003454/1.796, allocations: 492 kB / 0.9685 GB, free: 150.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.822, allocations: 16.7 MB / 0.9848 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004392/1.826, allocations: 3.769 MB / 0.9885 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005729/1.832, allocations: 2.251 MB / 0.9907 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/1.833, allocations: 299.4 kB / 0.991 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/1.833, allocations: 0 / 0.991 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.1228/1.956, allocations: 86.69 MB / 1.076 GB, free: 41.27 MB / 0.5573 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches