Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009087/0.0009085, allocations: 176.9 kB / 17.41 MB, free: 4.285 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.37/1.37, allocations: 205.4 MB / 223.6 MB, free: 9.004 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.0007893/0.0007897, allocations: 80.44 kB / 271.9 MB, free: 8.25 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.3849/0.3849, allocations: 43.57 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004413/0.0004416, allocations: 12 kB / 432.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1184, allocations: 58.85 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3598/0.4782, allocations: 117.8 MB / 0.5949 GB, free: 460 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.4786, allocations: 79.97 kB / 0.595 GB, free: 380 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6579/1.136, allocations: 169.4 MB / 0.7604 GB, free: 82.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.978e-06/1.137, allocations: 0 / 0.7604 GB, free: 82.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006909/1.137, allocations: 150.8 kB / 0.7605 GB, free: 82.54 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: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02908/1.166, allocations: 7.969 MB / 0.7683 GB, free: 77.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.166, allocations: 13.12 kB / 0.7683 GB, free: 77.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0283/1.195, allocations: 6.027 MB / 0.7742 GB, free: 74.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02137/1.216, allocations: 8.514 MB / 0.7825 GB, free: 68.67 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/1.217, allocations: 0.5658 MB / 0.7831 GB, free: 68.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005251/1.222, allocations: 0.7661 MB / 0.7838 GB, free: 67.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0515/1.274, allocations: 20.55 MB / 0.8039 GB, free: 45.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006529/1.274, allocations: 91.14 kB / 0.804 GB, free: 45.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004682/1.279, allocations: 373 kB / 0.8043 GB, free: 45.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003055/1.282, allocations: 1.953 MB / 0.8062 GB, free: 43.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03792/1.32, allocations: 18.03 MB / 0.8239 GB, free: 25.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3992/1.719, allocations: 82.14 MB / 0.9041 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/1.737, allocations: 7.339 MB / 0.9112 GB, free: 54.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00614/1.743, allocations: 3.974 MB / 0.9151 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03619/1.779, allocations: 18.06 MB / 0.9328 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.846e-05/1.78, allocations: 69.19 kB / 0.9328 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=332): time 1.034e-05/1.78, allocations: 0 / 0.9328 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=413): time 0.1269/1.907, allocations: 35.72 MB / 0.9677 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/1.907, allocations: 195 kB / 0.9679 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009764/1.916, allocations: 6.545 MB / 0.9743 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008187/1.917, allocations: 83.7 kB / 0.9744 GB, free: 40.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002811/1.92, allocations: 5.439 MB / 0.9797 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001648/1.922, allocations: 1.517 MB / 0.9811 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/1.922, allocations: 208.6 kB / 0.9813 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004799/1.923, allocations: 0.7584 MB / 0.9821 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005909/1.929, allocations: 4.195 MB / 0.9862 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008656/1.937, allocations: 10.06 MB / 0.996 GB, free: 24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/1.953, allocations: 15.34 MB / 1.011 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001897/1.953, allocations: 59.47 kB / 1.011 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1373) (initialization): time 0.0346/1.988, allocations: 15.97 MB / 1.027 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/1.988, allocations: 92 kB / 1.027 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003711/1.988, allocations: 208 kB / 1.027 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009899/1.998, allocations: 2.333 MB / 1.029 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009367/2.008, allocations: 2.443 MB / 1.032 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02049/2.028, allocations: 11.62 MB / 1.043 GB, free: 2.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009804/2.038, allocations: 0.6876 MB / 1.044 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002513/2.041, allocations: 0.5917 MB / 1.044 GB, free: 1.594 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1272): * Single equations (assignments): 1265 * Array equations: 6 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01524/2.056, allocations: 4.086 MB / 1.048 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002154/2.058, allocations: 0.5957 MB / 1.049 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02177/2.08, allocations: 8.175 MB / 1.057 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/2.08, allocations: 54.97 kB / 1.057 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-05/2.08, allocations: 12 kB / 1.057 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.668e-05/2.08, allocations: 20.95 kB / 1.057 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3222/2.402, allocations: 18.83 MB / 1.075 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.797e-05/2.402, allocations: 13.75 kB / 1.075 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/2.406, allocations: 0.6437 MB / 1.076 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007045/2.413, allocations: 1.889 MB / 1.078 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008609/2.414, allocations: 85.42 kB / 1.078 GB, free: 127.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01601/2.43, allocations: 9.947 MB / 1.087 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/2.43, allocations: 19.91 kB / 1.088 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/2.453, allocations: 12.36 MB / 1.1 GB, free: 125.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004232/2.457, allocations: 1.165 MB / 1.101 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002425/2.459, allocations: 75.11 kB / 1.101 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004795/2.464, allocations: 259.4 kB / 1.101 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/2.466, allocations: 261.5 kB / 1.101 GB, free: 125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007076/2.466, allocations: 116.5 kB / 1.101 GB, free: 125 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0119/2.478, allocations: 4.09 MB / 1.105 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.22e-07/2.478, allocations: 0 / 1.105 GB, free: 124.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01474/2.493, allocations: 1.937 MB / 1.107 GB, free: 124.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * 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 (324): * Single equations (assignments): 317 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001655/2.495, allocations: 280.4 kB / 1.108 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01872/2.513, allocations: 9.846 MB / 1.117 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/2.513, allocations: 3.719 kB / 1.117 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00657/2.52, allocations: 3.321 MB / 1.12 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01899/2.539, allocations: 0.7677 MB / 1.121 GB, free: 120.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/2.574, allocations: 21.67 MB / 1.142 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008496/2.582, allocations: 5.601 MB / 1.148 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/2.584, allocations: 491.2 kB / 1.148 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/2.584, allocations: 2 kB / 1.148 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.4363/3.021, allocations: 140.1 MB / 1.285 GB, free: 126.2 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches