Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.00132, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.457/1.457, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008086/0.0008083, allocations: 103.6 kB / 270.9 MB, free: 8.359 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.3739/0.3739, allocations: 43.56 MB / 362.7 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004472, allocations: 16 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.258/0.3797, allocations: 42.64 MB / 0.5204 GB, free: 20.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.398, allocations: 9.213 MB / 0.5294 GB, free: 14.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007755/0.4058, allocations: 194.2 kB / 0.5296 GB, free: 14.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005088/0.4109, allocations: 2.093 MB / 0.5316 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01357/0.4245, allocations: 6.186 MB / 0.5377 GB, free: 10.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001891/0.4264, allocations: 0.5242 MB / 0.5382 GB, free: 10.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004461/0.4309, allocations: 4.861 MB / 0.5429 GB, free: 8.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005319/0.4362, allocations: 3.595 MB / 0.5464 GB, free: 7.457 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.4398, allocations: 1.351 MB / 0.5477 GB, free: 7.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004911/0.4447, allocations: 2.141 MB / 0.5498 GB, free: 6.348 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.446, allocations: 173.9 kB / 0.55 GB, free: 6.348 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.4488, allocations: 0.7776 MB / 0.5508 GB, free: 6.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002792/0.4516, allocations: 1.835 MB / 0.5526 GB, free: 5.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.4532, allocations: 0.9536 MB / 0.5535 GB, free: 4.938 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008561/0.4618, allocations: 6.131 MB / 0.5595 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.4618, allocations: 4 kB / 0.5595 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4618, allocations: 1 kB / 0.5595 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003506/0.4622, allocations: 0 / 0.5595 GB, free: 0.9648 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01094/0.4731, allocations: 4.351 MB / 0.5637 GB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4732, allocations: 14.5 kB / 0.5637 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01158/0.4848, allocations: 3.286 MB / 0.5669 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.4908, allocations: 2.416 MB / 0.5693 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.491, allocations: 259.6 kB / 0.5696 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.4921, allocations: 351.7 kB / 0.5699 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.5129, allocations: 12.64 MB / 0.5822 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.513, allocations: 35.66 kB / 0.5823 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004677/0.5135, allocations: 159.8 kB / 0.5824 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005064/0.5186, allocations: 3.024 MB / 0.5854 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/0.5402, allocations: 11.28 MB / 0.5964 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06098/0.6012, allocations: 42.32 MB / 0.6377 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009475/0.6108, allocations: 4.699 MB / 0.6423 GB, free: 12.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003531/0.6143, allocations: 2.432 MB / 0.6447 GB, free: 10.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.6156, allocations: 1.315 MB / 0.646 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.6157, allocations: 52.56 kB / 0.646 GB, free: 8.902 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 7.544e-06/0.6157, allocations: 0 / 0.646 GB, free: 8.902 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.04632/0.6621, allocations: 19.47 MB / 0.665 GB, free: 5.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.6622, allocations: 103.1 kB / 0.6651 GB, free: 5.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005015/0.6672, allocations: 3.247 MB / 0.6683 GB, free: 1.895 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003341/0.6676, allocations: 61.7 kB / 0.6684 GB, free: 1.828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2576/0.9251, allocations: 3.272 MB / 0.6716 GB, free: 138.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.9268, allocations: 0.981 MB / 0.6725 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004815/0.9273, allocations: 122.9 kB / 0.6726 GB, free: 137.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004787/0.9277, allocations: 0.5696 MB / 0.6732 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004507/0.9323, allocations: 2.47 MB / 0.6756 GB, free: 137.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00605/0.9383, allocations: 5.869 MB / 0.6813 GB, free: 133.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/0.9434, allocations: 3.788 MB / 0.685 GB, free: 131.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.648e-05/0.9435, allocations: 33.75 kB / 0.6851 GB, free: 131.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01564/0.9592, allocations: 9.115 MB / 0.694 GB, free: 128.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.9593, allocations: 58.94 kB / 0.694 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/0.9595, allocations: 120.5 kB / 0.6941 GB, free: 128.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003008/0.9625, allocations: 1.07 MB / 0.6952 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005174/0.9677, allocations: 1.394 MB / 0.6965 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.9749, allocations: 5.148 MB / 0.7016 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005343/0.9803, allocations: 327.2 kB / 0.7019 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/0.9818, allocations: 356.7 kB / 0.7022 GB, free: 125.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 744 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00695/0.9888, allocations: 2.485 MB / 0.7046 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009413/0.9897, allocations: 324.2 kB / 0.705 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.001, allocations: 5.359 MB / 0.7102 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.401e-05/1.001, allocations: 47.11 kB / 0.7102 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.804e-05/1.001, allocations: 3.656 kB / 0.7102 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.66e-05/1.001, allocations: 11.58 kB / 0.7102 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03063/1.032, allocations: 13.33 MB / 0.7233 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.671e-05/1.032, allocations: 13.39 kB / 0.7233 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/1.034, allocations: 424.1 kB / 0.7237 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002865/1.037, allocations: 0.9002 MB / 0.7246 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000506/1.037, allocations: 54.28 kB / 0.7246 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/1.043, allocations: 4.494 MB / 0.729 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/1.043, allocations: 19.94 kB / 0.729 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.055, allocations: 8.011 MB / 0.7368 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/1.057, allocations: 0.7315 MB / 0.7376 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009812/1.058, allocations: 55.94 kB / 0.7376 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.06, allocations: 150 kB / 0.7378 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/1.06, allocations: 168.5 kB / 0.7379 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/1.06, allocations: 82.62 kB / 0.738 GB, free: 106.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004128/1.064, allocations: 1.978 MB / 0.7399 GB, free: 104.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.064, allocations: 0 / 0.7399 GB, free: 104.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007214/1.072, allocations: 1.117 MB / 0.741 GB, free: 103.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008925/1.073, allocations: 199.7 kB / 0.7412 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01016/1.083, allocations: 6.042 MB / 0.7471 GB, free: 98.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.083, allocations: 0 / 0.7471 GB, free: 98.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003283/1.086, allocations: 2.252 MB / 0.7493 GB, free: 96.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/1.09, allocations: 428.2 kB / 0.7497 GB, free: 95.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/1.116, allocations: 14.45 MB / 0.7638 GB, free: 81.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00513/1.121, allocations: 3.818 MB / 0.7676 GB, free: 77.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.123, allocations: 295.4 kB / 0.7678 GB, free: 77.29 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.123, allocations: 0 / 0.7678 GB, free: 77.29 MB / 490.7 MB Notification: Performance of Templates: time 0.1136/1.236, allocations: 85.88 MB / 0.8517 GB, free: 7.352 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Planar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches