Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002132/0.002132, allocations: 177.5 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001088/0.001087, allocations: 89.06 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2926/0.2926, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.205e-05, allocations: 4.219 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4015, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.5989, allocations: 107.6 MB / 0.5709 GB, free: 7.727 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5992, allocations: 79.95 kB / 0.571 GB, free: 7.648 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7891/1.388, allocations: 97.36 MB / 0.6661 GB, free: 109.2 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.545e-06/1.388, allocations: 0.9688 kB / 0.6661 GB, free: 109.2 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.00038/1.389, allocations: 95.41 kB / 0.6662 GB, free: 109.2 MB / 475.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.022/1.411, allocations: 5.12 MB / 0.6712 GB, free: 107.3 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/1.411, allocations: 10.16 kB / 0.6712 GB, free: 107.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03346/1.444, allocations: 4.613 MB / 0.6757 GB, free: 106.9 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.467, allocations: 6.075 MB / 0.6816 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/1.467, allocations: 148 kB / 0.6818 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/1.47, allocations: 275.3 kB / 0.682 GB, free: 106.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01791/1.488, allocations: 7.423 MB / 0.6893 GB, free: 104 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02647/1.515, allocations: 10.86 MB / 0.6999 GB, free: 98.24 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002991/1.515, allocations: 67.3 kB / 0.6999 GB, free: 98.2 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001942/1.517, allocations: 34.25 kB / 0.7 GB, free: 98.2 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/1.52, allocations: 1.273 MB / 0.7012 GB, free: 97.97 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08181/1.602, allocations: 54.33 MB / 0.7543 GB, free: 49.48 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007413/1.609, allocations: 4.377 MB / 0.7586 GB, free: 44.96 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/1.614, allocations: 2.944 MB / 0.7614 GB, free: 42.01 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02694/1.641, allocations: 12.17 MB / 0.7733 GB, free: 29.59 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/1.641, allocations: 63.81 kB / 0.7734 GB, free: 29.52 MB / 475.1 MB Notification: Performance of pre-optimization done (n=193): time 6.322e-06/1.641, allocations: 0 / 0.7734 GB, free: 29.52 MB / 475.1 MB Notification: Performance of matching and sorting (n=254): time 0.108/1.75, allocations: 28.83 MB / 0.8015 GB, free: 0.5859 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/1.75, allocations: 205.9 kB / 0.8017 GB, free: 348 kB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008466/1.758, allocations: 3.32 MB / 0.805 GB, free: 13 MB / 491.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007488/1.759, allocations: 25.7 kB / 0.805 GB, free: 12.96 MB / 491.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004129/1.763, allocations: 3.45 MB / 0.8084 GB, free: 9.469 MB / 491.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001962/1.765, allocations: 0.9212 MB / 0.8093 GB, free: 8.535 MB / 491.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009258/1.766, allocations: 4 kB / 0.8093 GB, free: 8.531 MB / 491.1 MB Notification: Performance of setup shared object (initialization): time 0.0006493/1.767, allocations: 0.6082 MB / 0.8099 GB, free: 7.914 MB / 491.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00795/1.775, allocations: 2.903 MB / 0.8127 GB, free: 5.008 MB / 491.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/1.787, allocations: 6.96 MB / 0.8195 GB, free: 12.02 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/1.799, allocations: 4.413 MB / 0.8238 GB, free: 7.605 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/1.799, allocations: 40 kB / 0.8238 GB, free: 7.566 MB / 0.4952 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.3933/2.192, allocations: 11.53 MB / 0.8351 GB, free: 121.3 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/2.192, allocations: 69.66 kB / 0.8352 GB, free: 121.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003328/2.193, allocations: 148.6 kB / 0.8353 GB, free: 121.2 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01772/2.21, allocations: 3.17 MB / 0.8384 GB, free: 121.2 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/2.222, allocations: 1.606 MB / 0.84 GB, free: 121.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03621/2.258, allocations: 13.83 MB / 0.8535 GB, free: 119.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009073/2.267, allocations: 346.1 kB / 0.8538 GB, free: 119.9 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/2.269, allocations: 423 kB / 0.8542 GB, free: 119.9 MB / 0.4952 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.002466/2.272, allocations: 467.7 kB / 0.8547 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001041/2.273, allocations: 383.2 kB / 0.855 GB, free: 119.8 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02481/2.297, allocations: 7.152 MB / 0.862 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/2.298, allocations: 27.2 kB / 0.862 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/2.298, allocations: 15.02 kB / 0.862 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.664e-05/2.298, allocations: 15.64 kB / 0.8621 GB, free: 118.1 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04337/2.341, allocations: 13.92 MB / 0.8757 GB, free: 113.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-05/2.341, allocations: 0 / 0.8757 GB, free: 113.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00376/2.345, allocations: 387.4 kB / 0.876 GB, free: 113.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/2.36, allocations: 2.844 MB / 0.8788 GB, free: 112.8 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006926/2.361, allocations: 7.609 kB / 0.8788 GB, free: 112.8 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02854/2.389, allocations: 12.34 MB / 0.8909 GB, free: 107.6 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/2.389, allocations: 7.281 kB / 0.8909 GB, free: 107.6 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02988/2.419, allocations: 11.09 MB / 0.9017 GB, free: 103.6 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003356/2.423, allocations: 0.8724 MB / 0.9025 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/2.424, allocations: 7.031 kB / 0.9026 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004121/2.428, allocations: 169.9 kB / 0.9027 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008334/2.429, allocations: 152 kB / 0.9029 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003058/2.429, allocations: 61.91 kB / 0.9029 GB, free: 103.1 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.004984/2.434, allocations: 2.211 MB / 0.9051 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.062e-06/2.434, allocations: 0 / 0.9051 GB, free: 102.2 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.009169/2.443, allocations: 1.142 MB / 0.9062 GB, free: 102.2 MB / 0.4952 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.0009291/2.444, allocations: 144.8 kB / 0.9063 GB, free: 102.1 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.01754/2.462, allocations: 7.45 MB / 0.9136 GB, free: 96.53 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.462, allocations: 4 kB / 0.9136 GB, free: 96.52 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.007515/2.47, allocations: 2.961 MB / 0.9165 GB, free: 93.88 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/2.473, allocations: 383.5 kB / 0.9169 GB, free: 93.56 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0266/2.5, allocations: 10.2 MB / 0.9268 GB, free: 84.65 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008114/2.508, allocations: 3.78 MB / 0.9305 GB, free: 81.82 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002208/2.51, allocations: 318.8 kB / 0.9308 GB, free: 81.52 MB / 0.4952 GB Notification: Performance of SimCode: time 1.723e-06/2.51, allocations: 0 / 0.9308 GB, free: 81.52 MB / 0.4952 GB Notification: Performance of Templates: time 0.164/2.674, allocations: 85.74 MB / 1.015 GB, free: 12.89 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches