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.001615/0.001621, allocations: 188.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001143/0.001143, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2859/0.2859, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006204/0.0006206, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.12, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.06468/0.1847, allocations: 40.29 MB / 0.5181 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3589/0.5437, allocations: 9.608 MB / 0.5275 GB, free: 9.734 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01333/0.5571, allocations: 192.2 kB / 0.5276 GB, free: 9.734 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008547/0.5657, allocations: 2.022 MB / 0.5296 GB, free: 9.656 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02586/0.5916, allocations: 5.916 MB / 0.5354 GB, free: 9.184 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0038/0.5954, allocations: 0.506 MB / 0.5359 GB, free: 9.043 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007017/0.6025, allocations: 2.454 MB / 0.5383 GB, free: 8.531 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007922/0.6105, allocations: 3.569 MB / 0.5418 GB, free: 7.391 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003491/0.614, allocations: 1.179 MB / 0.5429 GB, free: 6.973 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003785/0.6179, allocations: 1.546 MB / 0.5444 GB, free: 6.398 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.6191, allocations: 173.2 kB / 0.5446 GB, free: 6.398 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.6222, allocations: 0.7729 MB / 0.5454 GB, free: 6.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003052/0.6253, allocations: 1.707 MB / 0.547 GB, free: 5.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.627, allocations: 0.9537 MB / 0.548 GB, free: 5.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008952/0.636, allocations: 6.137 MB / 0.5539 GB, free: 2.141 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6361, allocations: 1.531 kB / 0.5539 GB, free: 2.141 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6361, allocations: 0 / 0.5539 GB, free: 2.141 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002969/0.6364, allocations: 0 / 0.5539 GB, free: 2.141 MB / 362.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.0133/0.6497, allocations: 4.483 MB / 0.5583 GB, free: 15.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6498, allocations: 9.031 kB / 0.5583 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02387/0.6736, allocations: 3.84 MB / 0.5621 GB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008505/0.6822, allocations: 2.614 MB / 0.5646 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/0.6826, allocations: 259.9 kB / 0.5649 GB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001995/0.6846, allocations: 341.2 kB / 0.5652 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03479/0.7194, allocations: 12.72 MB / 0.5776 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/0.7196, allocations: 43.59 kB / 0.5777 GB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001323/0.721, allocations: 157.4 kB / 0.5778 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009635/0.7306, allocations: 3.035 MB / 0.5808 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03666/0.7673, allocations: 11.39 MB / 0.5919 GB, free: 1.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/0.8908, allocations: 42.4 MB / 0.6333 GB, free: 5.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01776/0.9086, allocations: 4.711 MB / 0.6379 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.9107, allocations: 1.319 MB / 0.6392 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.368e-05/0.9108, allocations: 64.55 kB / 0.6393 GB, free: 15.26 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 7.134e-06/0.9109, allocations: 0 / 0.6393 GB, free: 15.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=268): time 0.08911/1, allocations: 20.04 MB / 0.6588 GB, free: 10.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/1, allocations: 103.1 kB / 0.6589 GB, free: 10.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007815/1.008, allocations: 3.37 MB / 0.6622 GB, free: 7.473 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006797/1.009, allocations: 57.7 kB / 0.6623 GB, free: 7.41 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003659/1.012, allocations: 3.246 MB / 0.6655 GB, free: 4.176 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.014, allocations: 0.977 MB / 0.6664 GB, free: 3.207 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000698/1.015, allocations: 118.6 kB / 0.6665 GB, free: 3.094 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006157/1.016, allocations: 0.5828 MB / 0.6671 GB, free: 2.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007147/1.023, allocations: 2.464 MB / 0.6695 GB, free: 32 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/1.034, allocations: 5.837 MB / 0.6752 GB, free: 8.523 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.044, allocations: 3.782 MB / 0.6789 GB, free: 4.742 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001278/1.044, allocations: 36 kB / 0.6789 GB, free: 4.707 MB / 490.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02863/1.073, allocations: 9.003 MB / 0.6877 GB, free: 11.69 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.073, allocations: 58.66 kB / 0.6878 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002131/1.074, allocations: 120 kB / 0.6879 GB, free: 11.52 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005901/1.079, allocations: 1.083 MB / 0.6889 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009081/1.089, allocations: 1.384 MB / 0.6903 GB, free: 9.047 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01291/1.102, allocations: 5.291 MB / 0.6955 GB, free: 3.629 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009337/1.111, allocations: 331.7 kB / 0.6958 GB, free: 3.305 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/1.113, allocations: 348 kB / 0.6961 GB, free: 2.965 MB / 0.4949 GB 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 (747): * Single equations (assignments): 740 * 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.009625/1.123, allocations: 2.486 MB / 0.6985 GB, free: 484 kB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/1.124, allocations: 327.9 kB / 0.6989 GB, free: 152 kB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/1.145, allocations: 5.353 MB / 0.7041 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001162/1.145, allocations: 50.66 kB / 0.7041 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.145, allocations: 7.984 kB / 0.7041 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-05/1.145, allocations: 13.56 kB / 0.7042 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3926/1.538, allocations: 13.33 MB / 0.7172 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/1.538, allocations: 11.69 kB / 0.7172 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003872/1.542, allocations: 427.9 kB / 0.7176 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00538/1.547, allocations: 0.8927 MB / 0.7185 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006471/1.548, allocations: 56.59 kB / 0.7185 GB, free: 174.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/1.559, allocations: 4.632 MB / 0.723 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-05/1.559, allocations: 18 kB / 0.7231 GB, free: 172.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/1.582, allocations: 9.12 MB / 0.732 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/1.585, allocations: 0.7434 MB / 0.7327 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.586, allocations: 47.41 kB / 0.7327 GB, free: 168.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/1.589, allocations: 156 kB / 0.7329 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000846/1.59, allocations: 167.4 kB / 0.733 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003038/1.591, allocations: 77.52 kB / 0.7331 GB, free: 168.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005153/1.596, allocations: 2.079 MB / 0.7351 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.32e-07/1.596, allocations: 3.969 kB / 0.7352 GB, free: 167.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007672/1.604, allocations: 1.13 MB / 0.7363 GB, free: 167.7 MB / 0.5105 GB 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.001204/1.605, allocations: 207.9 kB / 0.7365 GB, free: 167.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01371/1.619, allocations: 6.032 MB / 0.7423 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.537e-05/1.619, allocations: 3.688 kB / 0.7423 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005179/1.624, allocations: 2.251 MB / 0.7445 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.627, allocations: 392 kB / 0.7449 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03059/1.658, allocations: 14.42 MB / 0.759 GB, free: 157 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008055/1.666, allocations: 3.937 MB / 0.7628 GB, free: 154.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.668, allocations: 295.4 kB / 0.7631 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.303e-06/1.668, allocations: 0 / 0.7631 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.1502/1.818, allocations: 83.63 MB / 0.8448 GB, free: 70.85 MB / 0.5105 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/jenkins1/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