Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2068/0.2068, allocations: 46.09 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 79.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 62.46 MB / 481.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01094/0.1229, allocations: 10.22 MB / 491.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.1298, allocations: 3.802 MB / 495.5 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.131, allocations: 59.81 kB / 495.6 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003229/0.1343, allocations: 1.935 MB / 497.5 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003307/0.1376, allocations: 1.634 MB / 499.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1387, allocations: 0.616 MB / 499.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003727/0.1425, allocations: 3.357 MB / 0.4913 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.145, allocations: 2.575 MB / 0.4938 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.1466, allocations: 1.23 MB / 0.495 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.1485, allocations: 1.67 MB / 0.4967 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003762/0.1489, allocations: 256 kB / 0.4969 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.1505, allocations: 1.01 MB / 0.4979 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001207/0.1517, allocations: 1.543 MB / 0.4994 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.1533, allocations: 1.813 MB / 0.5012 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.209/0.3624, allocations: 5.774 MB / 0.5068 GB, free: 20.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3624, allocations: 0.5938 kB / 0.5068 GB, free: 20.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3624, allocations: 0.5938 kB / 0.5068 GB, free: 20.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001606/0.3626, allocations: 0 / 0.5068 GB, free: 20.61 MB / 382.1 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.006943/0.3695, allocations: 3.997 MB / 0.5107 GB, free: 19.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3696, allocations: 9.656 kB / 0.5107 GB, free: 19.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.3757, allocations: 1.771 MB / 0.5124 GB, free: 18.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004771/0.3805, allocations: 1.928 MB / 0.5143 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.3808, allocations: 188.3 kB / 0.5145 GB, free: 18.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006132/0.3814, allocations: 251.5 kB / 0.5147 GB, free: 18.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/0.3949, allocations: 8.455 MB / 0.523 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.904e-05/0.395, allocations: 43.31 kB / 0.523 GB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.3954, allocations: 132 kB / 0.5232 GB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/0.3979, allocations: 1.7 MB / 0.5248 GB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4089, allocations: 7.106 MB / 0.5318 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03165/0.4406, allocations: 34.01 MB / 0.565 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/0.4473, allocations: 3.291 MB / 0.5682 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.4491, allocations: 1.469 MB / 0.5696 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006772/0.4559, allocations: 4.442 MB / 0.574 GB, free: 4.289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.4559, allocations: 51.12 kB / 0.574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 2.675e-06/0.4559, allocations: 0 / 0.574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02623/0.4822, allocations: 11.55 MB / 0.5853 GB, free: 8.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.4823, allocations: 169.9 kB / 0.5855 GB, free: 8.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.487, allocations: 3.712 MB / 0.5891 GB, free: 4.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4871, allocations: 41.7 kB / 0.5891 GB, free: 4.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.489, allocations: 2.753 MB / 0.5918 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/0.4895, allocations: 0.5211 MB / 0.5923 GB, free: 1.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.4908, allocations: 1.075 MB / 0.5934 GB, free: 292 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4909, allocations: 305.1 kB / 0.5937 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.4933, allocations: 1.716 MB / 0.5953 GB, free: 14.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004489/0.4978, allocations: 5.132 MB / 0.6004 GB, free: 7.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007591/0.5054, allocations: 7.426 MB / 0.6076 GB, free: 14.82 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.244e-05/0.5055, allocations: 33.56 kB / 0.6076 GB, free: 14.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01049/0.516, allocations: 6.728 MB / 0.6142 GB, free: 8.223 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.115e-05/0.5161, allocations: 60 kB / 0.6143 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.5162, allocations: 123.9 kB / 0.6144 GB, free: 8.043 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006192/0.5168, allocations: 327.4 kB / 0.6147 GB, free: 7.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003518/0.5203, allocations: 1.248 MB / 0.6159 GB, free: 6.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.5234, allocations: 2.494 MB / 0.6184 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003626/0.527, allocations: 291.6 kB / 0.6186 GB, free: 3.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004333/0.5275, allocations: 336 kB / 0.619 GB, free: 3.223 MB / 462.1 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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002481/0.53, allocations: 1.786 MB / 0.6207 GB, free: 1.426 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/0.5305, allocations: 316 kB / 0.621 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004422/0.5349, allocations: 2.367 MB / 0.6233 GB, free: 14.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.5349, allocations: 16 kB / 0.6233 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5349, allocations: 0 / 0.6233 GB, free: 14.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.535, allocations: 11.98 kB / 0.6233 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.5455, allocations: 5.918 MB / 0.6291 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5455, allocations: 0 / 0.6291 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.5463, allocations: 175.6 kB / 0.6293 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00204/0.5484, allocations: 0.7202 MB / 0.63 GB, free: 7.859 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-05/0.5485, allocations: 20 kB / 0.63 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005652/0.5541, allocations: 4.821 MB / 0.6347 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5542, allocations: 0 / 0.6347 GB, free: 2.891 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006223/0.5604, allocations: 4.338 MB / 0.6389 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/0.5612, allocations: 365 kB / 0.6393 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.5615, allocations: 22.89 kB / 0.6393 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009821/0.5625, allocations: 71.91 kB / 0.6394 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.5627, allocations: 78.52 kB / 0.6395 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.5628, allocations: 28 kB / 0.6395 GB, free: 13.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003018/0.5658, allocations: 2.323 MB / 0.6418 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5658, allocations: 0 / 0.6418 GB, free: 11.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003378/0.5692, allocations: 0.8047 MB / 0.6425 GB, free: 10.84 MB / 494.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.5695, allocations: 141.7 kB / 0.6427 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005235/0.5748, allocations: 4.054 MB / 0.6466 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5748, allocations: 0 / 0.6466 GB, free: 6.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.5762, allocations: 1.134 MB / 0.6477 GB, free: 5.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.578, allocations: 392 kB / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.5884, allocations: 7.254 MB / 0.6552 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/0.591, allocations: 2.789 MB / 0.6579 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003342/0.5944, allocations: 1.652 MB / 0.6595 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/0.5949, allocations: 211.4 kB / 0.6597 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.5949, allocations: 4 kB / 0.6597 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.04859/0.6435, allocations: 26.02 MB / 0.6851 GB, free: 15.42 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches