Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001567/0.001571, allocations: 188.6 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.049/2.049, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001142/0.001141, allocations: 94.84 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.2916/0.2916, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.000472, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.04072/0.1583, allocations: 25.67 MB / 0.5038 GB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01876/0.1771, allocations: 6.665 MB / 0.5103 GB, free: 8.906 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.1824, allocations: 123.7 kB / 0.5104 GB, free: 8.785 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004609/0.1871, allocations: 1.295 MB / 0.5117 GB, free: 7.484 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.2019, allocations: 3.939 MB / 0.5155 GB, free: 3.535 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.2044, allocations: 403.4 kB / 0.5159 GB, free: 3.141 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004973/0.2094, allocations: 2.007 MB / 0.5179 GB, free: 1.133 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3248/0.5343, allocations: 2.252 MB / 0.5201 GB, free: 11.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002508/0.5369, allocations: 0.8917 MB / 0.521 GB, free: 11.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/0.5401, allocations: 1.223 MB / 0.5222 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.5413, allocations: 133.5 kB / 0.5223 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.5444, allocations: 0.7312 MB / 0.523 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00301/0.5475, allocations: 1.395 MB / 0.5244 GB, free: 11.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00196/0.5495, allocations: 0.7604 MB / 0.5251 GB, free: 11.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009703/0.5593, allocations: 4.814 MB / 0.5298 GB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5593, allocations: 1.375 kB / 0.5298 GB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5593, allocations: 0 / 0.5298 GB, free: 11.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002689/0.5596, allocations: 1.406 kB / 0.5298 GB, free: 11.21 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01244/0.5721, allocations: 3.587 MB / 0.5333 GB, free: 9.445 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5721, allocations: 15.8 kB / 0.5333 GB, free: 9.441 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02371/0.5958, allocations: 3.729 MB / 0.537 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007157/0.6031, allocations: 2.121 MB / 0.539 GB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.6034, allocations: 196.6 kB / 0.5392 GB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/0.6055, allocations: 257.2 kB / 0.5395 GB, free: 7.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/0.6348, allocations: 10.74 MB / 0.55 GB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.635, allocations: 34.2 kB / 0.55 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001031/0.6361, allocations: 125.8 kB / 0.5501 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007826/0.6439, allocations: 2.644 MB / 0.5527 GB, free: 4.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/0.6753, allocations: 10.08 MB / 0.5625 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0859/0.7612, allocations: 35.37 MB / 0.5971 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01749/0.7788, allocations: 5.18 MB / 0.6021 GB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002867/0.7817, allocations: 1.879 MB / 0.604 GB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.239e-05/0.7818, allocations: 56.52 kB / 0.604 GB, free: 3.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=229): time 7.354e-06/0.7818, allocations: 4 kB / 0.604 GB, free: 3.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=235): time 0.06143/0.8433, allocations: 14.54 MB / 0.6182 GB, free: 5.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.8434, allocations: 77.41 kB / 0.6183 GB, free: 4.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006261/0.8497, allocations: 2.777 MB / 0.621 GB, free: 2.191 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000664/0.8504, allocations: 59.33 kB / 0.6211 GB, free: 2.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002929/0.8533, allocations: 2.698 MB / 0.6237 GB, free: 15.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001774/0.8551, allocations: 0.8504 MB / 0.6245 GB, free: 14.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006447/0.8558, allocations: 104.4 kB / 0.6246 GB, free: 14.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005335/0.8564, allocations: 0.5341 MB / 0.6252 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006452/0.8628, allocations: 2.193 MB / 0.6273 GB, free: 11.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/0.8756, allocations: 5.089 MB / 0.6323 GB, free: 5.281 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01306/0.8887, allocations: 3.337 MB / 0.6355 GB, free: 2.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/0.8889, allocations: 28 kB / 0.6356 GB, free: 2.008 MB / 442.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.02501/0.9139, allocations: 7.825 MB / 0.6432 GB, free: 10.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.9141, allocations: 56.88 kB / 0.6433 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/0.9143, allocations: 104 kB / 0.6434 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004217/0.9185, allocations: 0.7967 MB / 0.6441 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008056/0.9266, allocations: 1.201 MB / 0.6453 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009893/0.9365, allocations: 4.294 MB / 0.6495 GB, free: 3.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005622/0.9422, allocations: 303.7 kB / 0.6498 GB, free: 3.309 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/0.9436, allocations: 306.6 kB / 0.6501 GB, free: 3.012 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * Number of states: 0 () * Number of discrete variables: 27 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.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 (640): * Single equations (assignments): 633 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006601/0.9502, allocations: 2.061 MB / 0.6521 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007303/0.9509, allocations: 264.5 kB / 0.6523 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.9662, allocations: 4.716 MB / 0.6569 GB, free: 11.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/0.9664, allocations: 43.98 kB / 0.657 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.9664, allocations: 0 / 0.657 GB, free: 11.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.641e-05/0.9665, allocations: 11.97 kB / 0.657 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03468/1.001, allocations: 10.6 MB / 0.6673 GB, free: 1.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.471e-05/1.001, allocations: 4 kB / 0.6674 GB, free: 1.176 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003443/1.005, allocations: 363.4 kB / 0.6677 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003912/1.009, allocations: 0.6564 MB / 0.6683 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006327/1.009, allocations: 43.98 kB / 0.6684 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009208/1.019, allocations: 3.749 MB / 0.672 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.304e-05/1.019, allocations: 15.94 kB / 0.6721 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02593/1.045, allocations: 7.692 MB / 0.6796 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/1.047, allocations: 0.6553 MB / 0.6802 GB, free: 3.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009776/1.048, allocations: 40 kB / 0.6802 GB, free: 3.531 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/1.051, allocations: 139.8 kB / 0.6804 GB, free: 3.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008759/1.052, allocations: 136.6 kB / 0.6805 GB, free: 3.266 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/1.053, allocations: 63.98 kB / 0.6806 GB, free: 3.203 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004623/1.057, allocations: 1.718 MB / 0.6822 GB, free: 1.477 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.057, allocations: 0 / 0.6822 GB, free: 1.477 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007301/1.065, allocations: 0.9609 MB / 0.6832 GB, free: 0.5156 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.066, allocations: 196 kB / 0.6834 GB, free: 328 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01433/1.08, allocations: 5.343 MB / 0.6886 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.08, allocations: 0 / 0.6886 GB, free: 10.99 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005714/1.086, allocations: 2.019 MB / 0.6906 GB, free: 8.965 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/1.089, allocations: 315.6 kB / 0.6909 GB, free: 8.66 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/1.119, allocations: 11.77 MB / 0.7024 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008215/1.128, allocations: 3.321 MB / 0.7056 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001981/1.13, allocations: 251.4 kB / 0.7058 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.13, allocations: 4 kB / 0.7058 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of Templates: time 0.4631/1.593, allocations: 69.06 MB / 0.7733 GB, free: 142.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches