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.001569/0.001569, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 79.86 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4221, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004491/0.4267, allocations: 3.075 MB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007364/0.4274, allocations: 414.7 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.4276, allocations: 8.25 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.4277, allocations: 70.17 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002987/0.428, allocations: 164.4 kB / 0.5346 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.4283, allocations: 98.88 kB / 0.5347 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000538/0.4288, allocations: 0.5404 MB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003334/0.4292, allocations: 165.8 kB / 0.5354 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.4294, allocations: 194.3 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.4297, allocations: 217.9 kB / 0.5358 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.465e-05/0.4297, allocations: 41 kB / 0.5358 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.4298, allocations: 39.81 kB / 0.5359 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.4299, allocations: 98.02 kB / 0.536 GB, free: 9.797 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.4302, allocations: 247.3 kB / 0.5362 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.4307, allocations: 0.5355 MB / 0.5367 GB, free: 9.258 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4307, allocations: 1 kB / 0.5367 GB, free: 9.258 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4307, allocations: 0 / 0.5367 GB, free: 9.258 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.4308, allocations: 0 / 0.5367 GB, free: 9.258 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.0009773/0.4317, allocations: 0.7272 MB / 0.5374 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4318, allocations: 13.88 kB / 0.5374 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.152e-05/0.4319, allocations: 54.83 kB / 0.5375 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.4324, allocations: 287.8 kB / 0.5378 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.4324, allocations: 36.09 kB / 0.5378 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.4325, allocations: 56.11 kB / 0.5379 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.4332, allocations: 462.2 kB / 0.5383 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/0.4332, allocations: 11.28 kB / 0.5383 GB, free: 7.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.4333, allocations: 24.97 kB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.4333, allocations: 16.23 kB / 0.5383 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.4338, allocations: 257 kB / 0.5386 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.436, allocations: 1.695 MB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005648/0.4366, allocations: 410.9 kB / 0.5406 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.4368, allocations: 156.1 kB / 0.5408 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.4369, allocations: 4.281 kB / 0.5408 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.4369, allocations: 56.36 kB / 0.5408 GB, free: 5.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.946e-06/0.4369, allocations: 3.984 kB / 0.5409 GB, free: 5.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007878/0.4377, allocations: 352 kB / 0.5412 GB, free: 5.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.4379, allocations: 270.6 kB / 0.5414 GB, free: 5.316 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.4381, allocations: 255.8 kB / 0.5417 GB, free: 5.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.4382, allocations: 33.08 kB / 0.5417 GB, free: 5.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.4383, allocations: 253.1 kB / 0.542 GB, free: 4.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.4385, allocations: 192.2 kB / 0.5421 GB, free: 4.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.4386, allocations: 111.6 kB / 0.5423 GB, free: 4.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4388, allocations: 350.8 kB / 0.5426 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.439, allocations: 119 kB / 0.5427 GB, free: 4.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.4395, allocations: 422.3 kB / 0.5431 GB, free: 3.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.4402, allocations: 0.5739 MB / 0.5437 GB, free: 3.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4403, allocations: 2.344 kB / 0.5437 GB, free: 3.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008879/0.4411, allocations: 0.568 MB / 0.5442 GB, free: 2.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.4412, allocations: 9.031 kB / 0.5442 GB, free: 2.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.4412, allocations: 14.25 kB / 0.5442 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.874e-05/0.4412, allocations: 14 kB / 0.5443 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005274/0.4418, allocations: 180.9 kB / 0.5444 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/0.4418, allocations: 30.23 kB / 0.5445 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.4421, allocations: 67.52 kB / 0.5445 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.4421, allocations: 31.78 kB / 0.5446 GB, free: 2.816 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.0001839/0.4423, allocations: 185.3 kB / 0.5447 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.4425, allocations: 43.36 kB / 0.5448 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.4426, allocations: 42.64 kB / 0.5448 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4426, allocations: 10.62 kB / 0.5448 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4426, allocations: 2.281 kB / 0.5448 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4426, allocations: 6.828 kB / 0.5448 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4436, allocations: 411.6 kB / 0.5452 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4437, allocations: 2.219 kB / 0.5452 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.4442, allocations: 122.9 kB / 0.5453 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4442, allocations: 4.469 kB / 0.5453 GB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.4443, allocations: 13.72 kB / 0.5454 GB, free: 2.215 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.4443, allocations: 7.562 kB / 0.5454 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4443, allocations: 10.91 kB / 0.5454 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.4453, allocations: 1.089 MB / 0.5464 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.4453, allocations: 116.8 kB / 0.5465 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.4454, allocations: 16 kB / 0.5466 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.4458, allocations: 12.06 kB / 0.5466 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.4458, allocations: 27.97 kB / 0.5466 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.4459, allocations: 15.98 kB / 0.5466 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.446, allocations: 174 kB / 0.5468 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.446, allocations: 0 / 0.5468 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007977/0.4468, allocations: 139.7 kB / 0.5469 GB, free: 0.6289 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.00019/0.447, allocations: 111.2 kB / 0.547 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.4476, allocations: 351.7 kB / 0.5474 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4476, allocations: 1.875 kB / 0.5474 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4478, allocations: 123.8 kB / 0.5475 GB, free: 44 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.449, allocations: 104.8 kB / 0.5476 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.4515, allocations: 1.986 MB / 0.5495 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.452, allocations: 0.8274 MB / 0.5503 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.4521, allocations: 48.16 kB / 0.5504 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.419e-05/0.4522, allocations: 31.44 kB / 0.5504 GB, free: 12.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4522, allocations: 8 kB / 0.5504 GB, free: 12.96 MB / 414.1 MB Notification: Performance of Templates: time 0.007925/0.4601, allocations: 4.184 MB / 0.5545 GB, free: 8.809 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