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.001216/0.001216, allocations: 173.5 kB / 16.72 MB, free: 5.078 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.236/1.236, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0007204/0.0007204, allocations: 82.42 kB / 271.2 MB, free: 8.242 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.2857/0.2857, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003461, allocations: 16 kB / 432 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1071, allocations: 58.84 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.2123/0.3194, allocations: 42.64 MB / 0.521 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01733/0.3368, allocations: 9.216 MB / 0.53 GB, free: 13.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007687/0.3445, allocations: 191.8 kB / 0.5301 GB, free: 13.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005754/0.3503, allocations: 2.088 MB / 0.5322 GB, free: 13.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01476/0.3651, allocations: 6.22 MB / 0.5383 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002619/0.3678, allocations: 0.5707 MB / 0.5388 GB, free: 10.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005009/0.3728, allocations: 4.958 MB / 0.5436 GB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005297/0.3781, allocations: 3.843 MB / 0.5474 GB, free: 7.109 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.3816, allocations: 1.353 MB / 0.5487 GB, free: 6.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003798/0.3854, allocations: 2.144 MB / 0.5508 GB, free: 5.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008474/0.3863, allocations: 174.5 kB / 0.551 GB, free: 5.996 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.3887, allocations: 0.9261 MB / 0.5519 GB, free: 5.777 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002019/0.3907, allocations: 1.83 MB / 0.5537 GB, free: 5.215 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002804/0.3935, allocations: 2.167 MB / 0.5558 GB, free: 3.656 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006198/0.3997, allocations: 6.136 MB / 0.5618 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3998, allocations: 0 / 0.5618 GB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3998, allocations: 0 / 0.5618 GB, free: 15.53 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002854/0.4001, allocations: 4 kB / 0.5618 GB, free: 15.52 MB / 394.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.009358/0.4095, allocations: 4.283 MB / 0.566 GB, free: 12.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4095, allocations: 9.125 kB / 0.566 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.42, allocations: 3.282 MB / 0.5692 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005716/0.4258, allocations: 2.459 MB / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.426, allocations: 262.9 kB / 0.5718 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.4274, allocations: 343.6 kB / 0.5722 GB, free: 6.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/0.448, allocations: 12.64 MB / 0.5845 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001087/0.4481, allocations: 47.62 kB / 0.5845 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004994/0.4487, allocations: 159.8 kB / 0.5847 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004802/0.4535, allocations: 3.02 MB / 0.5877 GB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02209/0.4756, allocations: 11.29 MB / 0.5987 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05833/0.534, allocations: 42.33 MB / 0.64 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009044/0.5431, allocations: 4.689 MB / 0.6446 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003459/0.5466, allocations: 2.436 MB / 0.647 GB, free: 8.414 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/0.5478, allocations: 1.315 MB / 0.6483 GB, free: 6.879 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.5478, allocations: 56.5 kB / 0.6483 GB, free: 6.816 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 5.019e-06/0.5479, allocations: 4 kB / 0.6483 GB, free: 6.812 MB / 474.7 MB Notification: Performance of matching and sorting (n=268): time 0.04171/0.5896, allocations: 19.47 MB / 0.6673 GB, free: 3.172 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.5897, allocations: 103.1 kB / 0.6674 GB, free: 3.055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1857/0.7753, allocations: 3.235 MB / 0.6706 GB, free: 137.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005323/0.7759, allocations: 60.61 kB / 0.6706 GB, free: 137.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002122/0.7781, allocations: 3.279 MB / 0.6738 GB, free: 136 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/0.7791, allocations: 0.9763 MB / 0.6748 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/0.7795, allocations: 123.8 kB / 0.6749 GB, free: 135.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003631/0.7799, allocations: 0.5672 MB / 0.6755 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004044/0.7839, allocations: 2.471 MB / 0.6779 GB, free: 135.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005398/0.7894, allocations: 5.87 MB / 0.6836 GB, free: 130.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009431/0.7988, allocations: 9.167 MB / 0.6926 GB, free: 123.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/0.799, allocations: 33.75 kB / 0.6926 GB, free: 123.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.01537/0.8144, allocations: 9.132 MB / 0.7015 GB, free: 120 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.8146, allocations: 62.31 kB / 0.7016 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.8147, allocations: 124 kB / 0.7017 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.8174, allocations: 1.047 MB / 0.7027 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.8219, allocations: 1.398 MB / 0.7041 GB, free: 119.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005817/0.8277, allocations: 5.133 MB / 0.7091 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/0.8321, allocations: 334.2 kB / 0.7094 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009988/0.8331, allocations: 352.7 kB / 0.7097 GB, free: 116.9 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.005006/0.8381, allocations: 2.483 MB / 0.7122 GB, free: 115.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006083/0.8387, allocations: 319.5 kB / 0.7125 GB, free: 115.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008887/0.8476, allocations: 5.364 MB / 0.7177 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.162e-05/0.8477, allocations: 50.36 kB / 0.7178 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.8478, allocations: 3.156 kB / 0.7178 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.8478, allocations: 20.55 kB / 0.7178 GB, free: 113.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02368/0.8715, allocations: 13.32 MB / 0.7308 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.8715, allocations: 11.75 kB / 0.7308 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.8731, allocations: 421.9 kB / 0.7312 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.8755, allocations: 0.8969 MB / 0.7321 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/0.8757, allocations: 52 kB / 0.7321 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004579/0.8803, allocations: 4.503 MB / 0.7365 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.567e-06/0.8803, allocations: 15.94 kB / 0.7365 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008888/0.8892, allocations: 8.023 MB / 0.7444 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.8906, allocations: 0.7303 MB / 0.7451 GB, free: 98.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/0.8909, allocations: 55.69 kB / 0.7451 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.892, allocations: 154 kB / 0.7453 GB, free: 98 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/0.8923, allocations: 170.8 kB / 0.7455 GB, free: 97.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.8925, allocations: 73.25 kB / 0.7455 GB, free: 97.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00238/0.8949, allocations: 1.98 MB / 0.7475 GB, free: 96.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8949, allocations: 4 kB / 0.7475 GB, free: 96.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004039/0.8989, allocations: 1.123 MB / 0.7486 GB, free: 95.08 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.0003521/0.8993, allocations: 188.8 kB / 0.7487 GB, free: 94.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006861/0.9062, allocations: 6.046 MB / 0.7546 GB, free: 89.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.9062, allocations: 4 kB / 0.7546 GB, free: 89.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002386/0.9086, allocations: 2.243 MB / 0.7568 GB, free: 87.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006483/0.9151, allocations: 429.1 kB / 0.7572 GB, free: 86.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.934, allocations: 14.45 MB / 0.7714 GB, free: 72.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00387/0.9379, allocations: 3.83 MB / 0.7751 GB, free: 68.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.9391, allocations: 295.4 kB / 0.7754 GB, free: 68.17 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.9391, allocations: 0 / 0.7754 GB, free: 68.17 MB / 490.7 MB Notification: Performance of Templates: time 0.2835/1.223, allocations: 85.66 MB / 0.859 GB, free: 142.8 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