Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00099/0.00099, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3295/0.3295, allocations: 43.54 MB / 314.5 MB, free: 9.043 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004814, allocations: 12 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1235, allocations: 58.87 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2317/0.3553, allocations: 37.14 MB / 479.9 MB, free: 28.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01773/0.373, allocations: 9.484 MB / 489.4 MB, free: 22.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007205/0.3803, allocations: 186.2 kB / 489.6 MB, free: 22.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007422/0.3878, allocations: 1.807 MB / 491.4 MB, free: 21.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01743/0.4052, allocations: 5.407 MB / 496.8 MB, free: 19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003695/0.4089, allocations: 0.8387 MB / 497.6 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02502/0.434, allocations: 14.64 MB / 0.5002 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008549/0.4426, allocations: 4.099 MB / 0.5042 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003091/0.4457, allocations: 1.225 MB / 0.5054 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.4492, allocations: 1.693 MB / 0.5071 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001201/0.4505, allocations: 173.4 kB / 0.5073 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.4532, allocations: 1.052 MB / 0.5083 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00237/0.4556, allocations: 1.832 MB / 0.5101 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.4573, allocations: 0.9407 MB / 0.511 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006305/0.4636, allocations: 6.32 MB / 0.5172 GB, free: 3.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.4636, allocations: 0 / 0.5172 GB, free: 3.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4636, allocations: 0 / 0.5172 GB, free: 3.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002422/0.4639, allocations: 0 / 0.5172 GB, free: 3.957 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.01296/0.4768, allocations: 5.192 MB / 0.5222 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4769, allocations: 12.03 kB / 0.5223 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08307/0.56, allocations: 8.467 MB / 0.5305 GB, free: 6.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009168/0.5692, allocations: 3.61 MB / 0.534 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.5695, allocations: 254.4 kB / 0.5343 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.5708, allocations: 347.7 kB / 0.5346 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.5952, allocations: 12.46 MB / 0.5468 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001729/0.5954, allocations: 55.44 kB / 0.5468 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006521/0.5961, allocations: 163.8 kB / 0.547 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004025/0.6001, allocations: 2.381 MB / 0.5493 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/0.6239, allocations: 10.87 MB / 0.5599 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06964/0.6936, allocations: 48.98 MB / 0.6078 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01499/0.7086, allocations: 5.947 MB / 0.6136 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0215/0.7302, allocations: 13.14 MB / 0.6264 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/0.7303, allocations: 51.88 kB / 0.6265 GB, free: 1.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=193): time 4.228e-06/0.7303, allocations: 0 / 0.6265 GB, free: 1.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=254): time 0.3422/1.073, allocations: 39.66 MB / 0.6652 GB, free: 132.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/1.073, allocations: 210.3 kB / 0.6654 GB, free: 132 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00891/1.082, allocations: 4.629 MB / 0.6699 GB, free: 130.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.083, allocations: 61.95 kB / 0.67 GB, free: 130.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002347/1.085, allocations: 3.438 MB / 0.6733 GB, free: 127.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001426/1.086, allocations: 0.9472 MB / 0.6743 GB, free: 127 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/1.087, allocations: 135.3 kB / 0.6744 GB, free: 126.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003456/1.087, allocations: 0.5954 MB / 0.675 GB, free: 126.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004015/1.091, allocations: 3.086 MB / 0.678 GB, free: 125.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005818/1.097, allocations: 6.985 MB / 0.6848 GB, free: 118.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005914/1.103, allocations: 4.54 MB / 0.6892 GB, free: 117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/1.103, allocations: 38.81 kB / 0.6893 GB, free: 117 MB / 494.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02201/1.125, allocations: 12.61 MB / 0.7016 GB, free: 105 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.403e-05/1.125, allocations: 64.97 kB / 0.7017 GB, free: 104.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/1.125, allocations: 136 kB / 0.7018 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007893/1.133, allocations: 3.275 MB / 0.705 GB, free: 101.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.138, allocations: 1.536 MB / 0.7065 GB, free: 99.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/1.157, allocations: 16.08 MB / 0.7222 GB, free: 83.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/1.163, allocations: 427.4 kB / 0.7226 GB, free: 83.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/1.164, allocations: 407.6 kB / 0.723 GB, free: 82.95 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004197/1.169, allocations: 2.352 MB / 0.7253 GB, free: 80.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.17, allocations: 410.7 kB / 0.7257 GB, free: 80.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0123/1.182, allocations: 7.507 MB / 0.733 GB, free: 72.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/1.182, allocations: 32 kB / 0.733 GB, free: 72.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/1.182, allocations: 8 kB / 0.733 GB, free: 72.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.375e-05/1.182, allocations: 15.95 kB / 0.733 GB, free: 72.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02764/1.21, allocations: 15.2 MB / 0.7479 GB, free: 57.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-05/1.21, allocations: 4 kB / 0.7479 GB, free: 57.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002342/1.212, allocations: 386.3 kB / 0.7483 GB, free: 57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008161/1.221, allocations: 2.936 MB / 0.7511 GB, free: 54.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006254/1.221, allocations: 43.94 kB / 0.7512 GB, free: 54.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/1.24, allocations: 14.3 MB / 0.7651 GB, free: 39.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.24, allocations: 0 / 0.7651 GB, free: 39.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01799/1.258, allocations: 11.54 MB / 0.7764 GB, free: 27.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/1.261, allocations: 0.9369 MB / 0.7773 GB, free: 26.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/1.263, allocations: 40 kB / 0.7774 GB, free: 26.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/1.265, allocations: 203.5 kB / 0.7776 GB, free: 26.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005491/1.266, allocations: 149.8 kB / 0.7777 GB, free: 26.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.266, allocations: 60 kB / 0.7778 GB, free: 26.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004122/1.27, allocations: 2.935 MB / 0.7806 GB, free: 23.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.27, allocations: 0 / 0.7806 GB, free: 23.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007711/1.278, allocations: 1.341 MB / 0.7819 GB, free: 22.25 MB / 494.1 MB 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008147/1.279, allocations: 192 kB / 0.7821 GB, free: 22.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01243/1.291, allocations: 7.776 MB / 0.7897 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.291, allocations: 0 / 0.7897 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004591/1.296, allocations: 3.124 MB / 0.7928 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/1.299, allocations: 464.7 kB / 0.7932 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02216/1.321, allocations: 13.62 MB / 0.8065 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005148/1.327, allocations: 3.779 MB / 0.8102 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.2221/1.549, allocations: 2.176 MB / 0.8123 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/1.55, allocations: 286.5 kB / 0.8126 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/1.55, allocations: 0 / 0.8126 GB, free: 141.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.09485/1.645, allocations: 55.09 MB / 0.8664 GB, free: 127.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches