Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") translateModel(ModelicaTest.Rotational.InitializationConversion.Inertia,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|inertia7.phi|inertia7.w|inertia7a.phi|inertia7a.w|inertia8.phi|inertia8.w|inertia8a.phi|inertia8a.w|inertia9.phi|inertia9.w|inertia9a.phi|inertia9a.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2297/0.2297, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 79.88 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4172, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004586/0.4218, allocations: 3.073 MB / 0.534 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.4231, allocations: 422.4 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002421/0.4233, allocations: 11.81 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.4236, allocations: 66.23 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004884/0.4241, allocations: 169.7 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003588/0.4244, allocations: 98.59 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007824/0.4252, allocations: 0.5434 MB / 0.5353 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.4256, allocations: 162.5 kB / 0.5354 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.4261, allocations: 209.8 kB / 0.5356 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.4265, allocations: 215 kB / 0.5358 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.864e-05/0.4266, allocations: 40.69 kB / 0.5359 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.4267, allocations: 40.31 kB / 0.5359 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.4269, allocations: 88.92 kB / 0.536 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.4273, allocations: 252.2 kB / 0.5362 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008432/0.4281, allocations: 0.5253 MB / 0.5367 GB, free: 9.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4282, allocations: 8 kB / 0.5367 GB, free: 9.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4282, allocations: 1.125 kB / 0.5367 GB, free: 9.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4282, allocations: 0 / 0.5367 GB, free: 9.23 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001491/0.4297, allocations: 0.7078 MB / 0.5374 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.161e-05/0.4298, allocations: 16.98 kB / 0.5374 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.43, allocations: 55.09 kB / 0.5375 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005451/0.4305, allocations: 291 kB / 0.5378 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.528e-05/0.4306, allocations: 35.41 kB / 0.5378 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.4308, allocations: 52.56 kB / 0.5379 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.4321, allocations: 461.9 kB / 0.5383 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/0.4322, allocations: 12.53 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.4323, allocations: 20.41 kB / 0.5383 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.4323, allocations: 11.81 kB / 0.5383 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007379/0.4331, allocations: 254.8 kB / 0.5386 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/0.4367, allocations: 1.695 MB / 0.5402 GB, free: 6.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.4375, allocations: 407.2 kB / 0.5406 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.4378, allocations: 157.8 kB / 0.5408 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.4379, allocations: 9.875 kB / 0.5408 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.253e-05/0.438, allocations: 47.05 kB / 0.5408 GB, free: 5.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.925e-06/0.438, allocations: 0 / 0.5408 GB, free: 5.816 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.001248/0.4392, allocations: 362.3 kB / 0.5412 GB, free: 5.633 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/0.4395, allocations: 273.5 kB / 0.5414 GB, free: 5.309 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/0.4399, allocations: 252.6 kB / 0.5417 GB, free: 5.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.44, allocations: 34.89 kB / 0.5417 GB, free: 5.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003697/0.4404, allocations: 241.9 kB / 0.5419 GB, free: 4.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.4406, allocations: 183 kB / 0.5421 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/0.4409, allocations: 115.4 kB / 0.5422 GB, free: 4.633 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.4411, allocations: 351.3 kB / 0.5426 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.4415, allocations: 119.2 kB / 0.5427 GB, free: 4.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006054/0.4421, allocations: 422 kB / 0.5431 GB, free: 3.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.4432, allocations: 0.5652 MB / 0.5436 GB, free: 3.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.4432, allocations: 11.38 kB / 0.5436 GB, free: 3.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001373/0.4446, allocations: 0.5622 MB / 0.5442 GB, free: 2.941 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.4447, allocations: 10.66 kB / 0.5442 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.4447, allocations: 10.34 kB / 0.5442 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.657e-05/0.4447, allocations: 17.59 kB / 0.5442 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/0.4457, allocations: 184.5 kB / 0.5444 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.44e-05/0.4457, allocations: 22.53 kB / 0.5444 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.4462, allocations: 62.91 kB / 0.5445 GB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.05e-05/0.4463, allocations: 32.28 kB / 0.5445 GB, free: 2.836 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002869/0.4466, allocations: 181.3 kB / 0.5447 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.4469, allocations: 40.09 kB / 0.5447 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.4471, allocations: 38.48 kB / 0.5448 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.4472, allocations: 13.12 kB / 0.5448 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.4472, allocations: 2.906 kB / 0.5448 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4472, allocations: 10.39 kB / 0.5448 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.4488, allocations: 420.1 kB / 0.5452 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.4488, allocations: 2.406 kB / 0.5452 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009252/0.4498, allocations: 131.3 kB / 0.5453 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.4498, allocations: 4.031 kB / 0.5453 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.654e-05/0.4498, allocations: 13.7 kB / 0.5453 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.4499, allocations: 7.344 kB / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4499, allocations: 3.25 kB / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.4511, allocations: 1.086 MB / 0.5464 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4512, allocations: 108.7 kB / 0.5465 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.4513, allocations: 12 kB / 0.5465 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.4519, allocations: 15.92 kB / 0.5465 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.452, allocations: 31.91 kB / 0.5466 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.452, allocations: 12 kB / 0.5466 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.4522, allocations: 174 kB / 0.5467 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4522, allocations: 0 / 0.5467 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001598/0.4538, allocations: 139.7 kB / 0.5469 GB, free: 0.6328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003646/0.4542, allocations: 111.2 kB / 0.547 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008968/0.4551, allocations: 348.5 kB / 0.5473 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4552, allocations: 0 / 0.5473 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.4554, allocations: 127.8 kB / 0.5474 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.4577, allocations: 108.3 kB / 0.5475 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.4618, allocations: 1.968 MB / 0.5495 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.4625, allocations: 0.8313 MB / 0.5503 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002476/0.4627, allocations: 48.16 kB / 0.5503 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.4628, allocations: 35.44 kB / 0.5504 GB, free: 12.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4628, allocations: 0 / 0.5504 GB, free: 12.98 MB / 414.1 MB Notification: Performance of Templates: time 0.01211/0.475, allocations: 4.174 MB / 0.5544 GB, free: 8.84 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches