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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.002415/0.002415, allocations: 184.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2403/0.2403, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003898, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 58.85 MB / 490.2 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.5344, allocations: 108.3 MB / 0.5845 GB, free: 7.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5347, allocations: 81.98 kB / 0.5846 GB, free: 7.766 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2576/0.7924, allocations: 99.2 MB / 0.6815 GB, free: 12.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.7924, allocations: 0 / 0.6815 GB, free: 12.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003214/0.7928, allocations: 88 kB / 0.6815 GB, free: 12.2 MB / 490.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.02284/0.8156, allocations: 5.478 MB / 0.6869 GB, free: 6.648 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8157, allocations: 8.031 kB / 0.6869 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/0.8346, allocations: 4.611 MB / 0.6914 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/0.8517, allocations: 6.1 MB / 0.6974 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005204/0.8523, allocations: 349.1 kB / 0.6977 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003081/0.8554, allocations: 467.7 kB / 0.6981 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3398/1.195, allocations: 12.72 MB / 0.7106 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003269/1.196, allocations: 65.2 kB / 0.7106 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/1.197, allocations: 224.2 kB / 0.7108 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00213/1.199, allocations: 1.268 MB / 0.7121 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.227, allocations: 10.95 MB / 0.7228 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0668/1.294, allocations: 55.87 MB / 0.7773 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01423/1.308, allocations: 5.961 MB / 0.7832 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0191/1.327, allocations: 13.07 MB / 0.7959 GB, free: 68.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.328, allocations: 54.78 kB / 0.796 GB, free: 68.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 6.141e-06/1.328, allocations: 0 / 0.796 GB, free: 68.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.09893/1.426, allocations: 36.15 MB / 0.8313 GB, free: 53.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/1.427, allocations: 213.5 kB / 0.8315 GB, free: 53.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006159/1.433, allocations: 3.915 MB / 0.8353 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007264/1.434, allocations: 66.64 kB / 0.8354 GB, free: 49.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00206/1.436, allocations: 3.441 MB / 0.8387 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.437, allocations: 0.9576 MB / 0.8397 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/1.437, allocations: 136 kB / 0.8398 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002939/1.438, allocations: 0.5885 MB / 0.8404 GB, free: 45.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003945/1.441, allocations: 3.078 MB / 0.8434 GB, free: 42.84 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005502/1.447, allocations: 6.978 MB / 0.8502 GB, free: 34.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005938/1.453, allocations: 4.533 MB / 0.8546 GB, free: 30.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.075e-05/1.453, allocations: 40 kB / 0.8547 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02391/1.477, allocations: 12.57 MB / 0.8669 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001615/1.477, allocations: 65.56 kB / 0.867 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/1.477, allocations: 136 kB / 0.8671 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008834/1.486, allocations: 3.221 MB / 0.8703 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/1.492, allocations: 1.552 MB / 0.8718 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/1.513, allocations: 15.54 MB / 0.887 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007217/1.52, allocations: 484.4 kB / 0.8874 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/1.522, allocations: 411.9 kB / 0.8878 GB, free: 13.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 (809): * Single equations (assignments): 805 * 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.007461/1.53, allocations: 2.35 MB / 0.8901 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.531, allocations: 410.8 kB / 0.8905 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/1.549, allocations: 7.414 MB / 0.8977 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.868e-05/1.549, allocations: 24.94 kB / 0.8978 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.551e-05/1.549, allocations: 12 kB / 0.8978 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-05/1.549, allocations: 11.95 kB / 0.8978 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3774/1.926, allocations: 15.02 MB / 0.9125 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-05/1.926, allocations: 3.031 kB / 0.9125 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.929, allocations: 384.6 kB / 0.9128 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009739/1.938, allocations: 2.879 MB / 0.9156 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008053/1.939, allocations: 42.3 kB / 0.9157 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/1.959, allocations: 13.86 MB / 0.9292 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.959, allocations: 0 / 0.9292 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/1.978, allocations: 11.41 MB / 0.9404 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.981, allocations: 0.9184 MB / 0.9412 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007607/1.982, allocations: 41.45 kB / 0.9413 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/1.984, allocations: 205.9 kB / 0.9415 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005923/1.984, allocations: 152.7 kB / 0.9416 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.985, allocations: 61.77 kB / 0.9417 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004544/1.989, allocations: 2.755 MB / 0.9444 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.91e-07/1.989, allocations: 0 / 0.9444 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006192/1.995, allocations: 1.315 MB / 0.9457 GB, free: 113.2 MB / 0.5105 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 (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.0005403/1.996, allocations: 183.7 kB / 0.9458 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01186/2.008, allocations: 7.776 MB / 0.9534 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/2.008, allocations: 0 / 0.9534 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004975/2.013, allocations: 3.078 MB / 0.9564 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/2.017, allocations: 462.1 kB / 0.9569 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/2.041, allocations: 13.58 MB / 0.9701 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/2.044, allocations: 3.775 MB / 0.9738 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005295/2.05, allocations: 2.178 MB / 0.976 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/2.051, allocations: 284.3 kB / 0.9762 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.292e-06/2.051, allocations: 0 / 0.9762 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.08549/2.136, allocations: 53.83 MB / 1.029 GB, free: 64.05 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (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) 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