Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002219/0.002224, allocations: 187.7 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.136/2.136, 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.001165/0.001165, allocations: 98.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.2933/0.2933, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004464, allocations: 12 kB / 431.4 MB, free: 20.27 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.RevoluteInitialization): time 0.04536/0.1629, allocations: 29.7 MB / 0.5077 GB, free: 11.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02128/0.1842, allocations: 7.731 MB / 0.5153 GB, free: 3.801 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005722/0.19, allocations: 147.6 kB / 0.5154 GB, free: 3.656 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005099/0.1951, allocations: 1.423 MB / 0.5168 GB, free: 2.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3429/0.5381, allocations: 4.345 MB / 0.5211 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.5412, allocations: 0.493 MB / 0.5215 GB, free: 11.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005315/0.5466, allocations: 1.9 MB / 0.5234 GB, free: 11.17 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00694/0.5536, allocations: 2.938 MB / 0.5263 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.5564, allocations: 0.8657 MB / 0.5271 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.5596, allocations: 1.131 MB / 0.5282 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001144/0.5608, allocations: 114.6 kB / 0.5283 GB, free: 10.86 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.5642, allocations: 0.7753 MB / 0.5291 GB, free: 10.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002906/0.5671, allocations: 1.302 MB / 0.5303 GB, free: 10.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.5692, allocations: 0.6993 MB / 0.531 GB, free: 10.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008625/0.5779, allocations: 4.446 MB / 0.5354 GB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.578, allocations: 0 / 0.5354 GB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.437e-06/0.578, allocations: 1.562 kB / 0.5354 GB, free: 10.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002707/0.5783, allocations: 0 / 0.5354 GB, free: 10.12 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01302/0.5913, allocations: 3.426 MB / 0.5387 GB, free: 7.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5914, allocations: 8.281 kB / 0.5387 GB, free: 7.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01349/0.6049, allocations: 2.11 MB / 0.5408 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007146/0.6121, allocations: 2.149 MB / 0.5429 GB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.6124, allocations: 191 kB / 0.5431 GB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001758/0.6142, allocations: 251.5 kB / 0.5433 GB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/0.6385, allocations: 8.501 MB / 0.5516 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/0.6387, allocations: 36.22 kB / 0.5516 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/0.6401, allocations: 127.5 kB / 0.5518 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005014/0.6452, allocations: 1.696 MB / 0.5534 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0234/0.6686, allocations: 7.158 MB / 0.5604 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07794/0.7466, allocations: 34.25 MB / 0.5939 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01303/0.7597, allocations: 3.276 MB / 0.5971 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.7711, allocations: 4.417 MB / 0.6014 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/0.7712, allocations: 50.11 kB / 0.6014 GB, free: 6.695 MB / 410.7 MB Notification: Performance of pre-optimization done (n=121): time 5.42e-06/0.7712, allocations: 0 / 0.6014 GB, free: 6.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.05509/0.8263, allocations: 11.83 MB / 0.613 GB, free: 10.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.8265, allocations: 170.9 kB / 0.6131 GB, free: 10.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009475/0.836, allocations: 3.853 MB / 0.6169 GB, free: 6.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003622/0.8364, allocations: 41.7 kB / 0.6169 GB, free: 6.613 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003292/0.8397, allocations: 2.697 MB / 0.6196 GB, free: 3.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009741/0.8407, allocations: 0.5178 MB / 0.6201 GB, free: 3.422 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005776/0.8413, allocations: 104 kB / 0.6202 GB, free: 3.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007179/0.842, allocations: 0.5378 MB / 0.6207 GB, free: 2.773 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005318/0.8473, allocations: 1.669 MB / 0.6223 GB, free: 1.098 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008924/0.8563, allocations: 5.083 MB / 0.6273 GB, free: 10.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007628/0.864, allocations: 2.857 MB / 0.6301 GB, free: 7.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/0.8642, allocations: 32 kB / 0.6301 GB, free: 7.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01943/0.8836, allocations: 6.559 MB / 0.6365 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.8838, allocations: 60 kB / 0.6366 GB, free: 0.8945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/0.884, allocations: 120 kB / 0.6367 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.8851, allocations: 334.7 kB / 0.637 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007666/0.8928, allocations: 1.24 MB / 0.6382 GB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.8969, allocations: 2.322 MB / 0.6405 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005797/0.9027, allocations: 291.5 kB / 0.6408 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001221/0.904, allocations: 340 kB / 0.6411 GB, free: 12.13 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * Array equations: 3 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005421/0.9094, allocations: 1.79 MB / 0.6428 GB, free: 10.33 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009062/0.9104, allocations: 315.9 kB / 0.6431 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008619/0.919, allocations: 2.359 MB / 0.6454 GB, free: 7.648 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.638e-05/0.9191, allocations: 16 kB / 0.6455 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.9191, allocations: 3.953 kB / 0.6455 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.598e-05/0.9192, allocations: 7.984 kB / 0.6455 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.9401, allocations: 5.931 MB / 0.6513 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/0.9401, allocations: 3.953 kB / 0.6513 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.9418, allocations: 175.7 kB / 0.6514 GB, free: 1.477 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004144/0.946, allocations: 0.7147 MB / 0.6521 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003006/0.9463, allocations: 20 kB / 0.6522 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/0.9568, allocations: 4.579 MB / 0.6566 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.9568, allocations: 0 / 0.6566 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.9705, allocations: 4.447 MB / 0.661 GB, free: 7.531 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00221/0.9728, allocations: 0.5399 MB / 0.6615 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009125/0.9737, allocations: 20 kB / 0.6615 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/0.9762, allocations: 75.73 kB / 0.6616 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/0.9767, allocations: 72.97 kB / 0.6617 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.9768, allocations: 32 kB / 0.6617 GB, free: 6.777 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007055/0.9839, allocations: 2.421 MB / 0.664 GB, free: 4.371 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.023e-06/0.9839, allocations: 0 / 0.664 GB, free: 4.371 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007545/0.9915, allocations: 0.8336 MB / 0.6649 GB, free: 3.539 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008708/0.9924, allocations: 174.3 kB / 0.665 GB, free: 3.363 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01077/1.003, allocations: 3.992 MB / 0.6689 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/1.003, allocations: 0 / 0.6689 GB, free: 15.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002816/1.006, allocations: 1.113 MB / 0.67 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/1.009, allocations: 357.1 kB / 0.6704 GB, free: 13.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/1.032, allocations: 8.999 MB / 0.6791 GB, free: 4.879 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006229/1.038, allocations: 2.867 MB / 0.6819 GB, free: 1.988 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.04, allocations: 247.4 kB / 0.6822 GB, free: 1.746 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/1.04, allocations: 4 kB / 0.6822 GB, free: 1.742 MB / 490.7 MB Notification: Performance of Templates: time 0.5068/1.547, allocations: 62.01 MB / 0.7427 GB, free: 170.6 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches