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.001119/0.001119, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008151/0.0008151, allocations: 94.56 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2166/0.2166, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.788e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4244/0.5403, allocations: 107.5 MB / 0.571 GB, free: 4.211 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.5407, allocations: 77.56 kB / 0.571 GB, free: 4.176 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2474/0.7881, allocations: 97.38 MB / 0.6661 GB, free: 10.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7881, allocations: 0 / 0.6661 GB, free: 10.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001885/0.7883, allocations: 88 kB / 0.6662 GB, free: 10.62 MB / 474.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.01625/0.8046, allocations: 5.121 MB / 0.6712 GB, free: 5.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.8046, allocations: 12.03 kB / 0.6712 GB, free: 5.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/0.8238, allocations: 4.611 MB / 0.6757 GB, free: 0.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/0.8404, allocations: 6.073 MB / 0.6817 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/0.8408, allocations: 148 kB / 0.6818 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.8432, allocations: 271.9 kB / 0.6821 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01395/0.8571, allocations: 7.425 MB / 0.6893 GB, free: 2.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.8765, allocations: 10.87 MB / 0.6999 GB, free: 6.859 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/0.8767, allocations: 67.39 kB / 0.7 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005811/0.8773, allocations: 36 kB / 0.7 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001675/0.879, allocations: 1.269 MB / 0.7013 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3278/1.207, allocations: 54.32 MB / 0.7543 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004406/1.211, allocations: 4.376 MB / 0.7586 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/1.214, allocations: 2.937 MB / 0.7614 GB, free: 87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/1.229, allocations: 12.18 MB / 0.7733 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.229, allocations: 51.53 kB / 0.7734 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 4.949e-06/1.229, allocations: 0 / 0.7734 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.05358/1.282, allocations: 28.84 MB / 0.8016 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/1.283, allocations: 216.8 kB / 0.8018 GB, free: 71.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/1.287, allocations: 3.319 MB / 0.805 GB, free: 70.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000384/1.287, allocations: 25.7 kB / 0.805 GB, free: 70.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.289, allocations: 3.5 MB / 0.8084 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007626/1.289, allocations: 0.9206 MB / 0.8093 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/1.29, allocations: 0.9375 kB / 0.8093 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002682/1.29, allocations: 0.6082 MB / 0.8099 GB, free: 67.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002999/1.293, allocations: 2.902 MB / 0.8128 GB, free: 66.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004323/1.297, allocations: 6.953 MB / 0.8196 GB, free: 59.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/1.302, allocations: 4.425 MB / 0.8239 GB, free: 56.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.818e-05/1.302, allocations: 40 kB / 0.8239 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01795/1.32, allocations: 11.64 MB / 0.8353 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/1.32, allocations: 68.22 kB / 0.8353 GB, free: 46.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/1.32, allocations: 151.7 kB / 0.8355 GB, free: 46.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007737/1.328, allocations: 3.167 MB / 0.8386 GB, free: 44.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005097/1.333, allocations: 1.606 MB / 0.8402 GB, free: 43.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.349, allocations: 13.84 MB / 0.8537 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005409/1.355, allocations: 348.6 kB / 0.854 GB, free: 30.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.356, allocations: 422.7 kB / 0.8544 GB, free: 30.56 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 657 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001109/1.357, allocations: 473.9 kB / 0.8549 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006236/1.358, allocations: 371.2 kB / 0.8552 GB, free: 29.73 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01248/1.37, allocations: 7.156 MB / 0.8622 GB, free: 24.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/1.37, allocations: 24 kB / 0.8622 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/1.37, allocations: 16 kB / 0.8622 GB, free: 24.19 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/1.37, allocations: 12.7 kB / 0.8622 GB, free: 24.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/1.394, allocations: 13.91 MB / 0.8758 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.394, allocations: 0 / 0.8758 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.396, allocations: 391.4 kB / 0.8762 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007545/1.403, allocations: 2.845 MB / 0.879 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004736/1.404, allocations: 4 kB / 0.879 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.42, allocations: 12.34 MB / 0.891 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.42, allocations: 4 kB / 0.891 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02072/1.44, allocations: 11.1 MB / 0.9019 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002909/1.443, allocations: 0.8671 MB / 0.9027 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009669/1.444, allocations: 4 kB / 0.9027 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.447, allocations: 163.7 kB / 0.9029 GB, free: 72 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2949/1.742, allocations: 151.7 kB / 0.903 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005756/1.742, allocations: 64.25 kB / 0.9031 GB, free: 125.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004656/1.747, allocations: 2.213 MB / 0.9053 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.82e-07/1.747, allocations: 0 / 0.9053 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00765/1.755, allocations: 1.139 MB / 0.9064 GB, free: 125.5 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 () * 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.0007021/1.755, allocations: 149.5 kB / 0.9065 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.769, allocations: 7.448 MB / 0.9138 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.769, allocations: 3.469 kB / 0.9138 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005261/1.775, allocations: 2.958 MB / 0.9167 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/1.777, allocations: 369.5 kB / 0.917 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.795, allocations: 9.674 MB / 0.9265 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003936/1.799, allocations: 3.774 MB / 0.9302 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005078/1.804, allocations: 2.216 MB / 0.9323 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/1.805, allocations: 267.2 kB / 0.9326 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.193e-06/1.805, allocations: 0 / 0.9326 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.07947/1.884, allocations: 48.54 MB / 0.98 GB, free: 114.9 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