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.001217/0.001217, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 202 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 75.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4077, 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.005059/0.4128, allocations: 3.073 MB / 0.534 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4143, allocations: 423.6 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005746/0.4149, allocations: 15 kB / 0.5344 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.4153, allocations: 62.12 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008307/0.4161, allocations: 165 kB / 0.5346 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.4166, allocations: 102.2 kB / 0.5347 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.4178, allocations: 0.5362 MB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.4182, allocations: 167 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005379/0.4188, allocations: 197 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005363/0.4193, allocations: 214.8 kB / 0.5358 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.4195, allocations: 41.16 kB / 0.5358 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.4197, allocations: 39.94 kB / 0.5359 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.4199, allocations: 97.67 kB / 0.536 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005211/0.4204, allocations: 247.1 kB / 0.5362 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.4212, allocations: 0.5246 MB / 0.5367 GB, free: 9.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4212, allocations: 4 kB / 0.5367 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4212, allocations: 0 / 0.5367 GB, free: 9.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4212, allocations: 0.9688 kB / 0.5367 GB, free: 9.246 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.001268/0.4225, allocations: 0.727 MB / 0.5374 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/0.4225, allocations: 8.781 kB / 0.5374 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.4227, allocations: 54.83 kB / 0.5375 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4231, allocations: 300.1 kB / 0.5378 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.384e-05/0.4231, allocations: 36.36 kB / 0.5378 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4232, allocations: 56.58 kB / 0.5379 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008439/0.4241, allocations: 457.5 kB / 0.5383 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.4241, allocations: 7.609 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.937e-05/0.4242, allocations: 28.45 kB / 0.5383 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.4242, allocations: 12.66 kB / 0.5383 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.4247, allocations: 261.8 kB / 0.5386 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.427, allocations: 1.692 MB / 0.5402 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.4275, allocations: 409.4 kB / 0.5406 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.4277, allocations: 155.6 kB / 0.5408 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4278, allocations: 13.38 kB / 0.5408 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4278, allocations: 51.42 kB / 0.5408 GB, free: 5.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.763e-06/0.4278, allocations: 0 / 0.5408 GB, free: 5.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007789/0.4286, allocations: 356.5 kB / 0.5412 GB, free: 5.621 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.4288, allocations: 274.2 kB / 0.5414 GB, free: 5.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.4291, allocations: 251.9 kB / 0.5417 GB, free: 5.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4291, allocations: 32.08 kB / 0.5417 GB, free: 5.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.4293, allocations: 250.6 kB / 0.542 GB, free: 4.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4295, allocations: 187 kB / 0.5421 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.4296, allocations: 115.7 kB / 0.5422 GB, free: 4.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4298, allocations: 356.2 kB / 0.5426 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.43, allocations: 121.9 kB / 0.5427 GB, free: 4.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.4305, allocations: 414.4 kB / 0.5431 GB, free: 3.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007046/0.4312, allocations: 0.5825 MB / 0.5437 GB, free: 3.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.4312, allocations: 10.53 kB / 0.5437 GB, free: 3.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009279/0.4321, allocations: 0.5629 MB / 0.5442 GB, free: 2.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4322, allocations: 10.78 kB / 0.5442 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.4322, allocations: 9.438 kB / 0.5442 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.4322, allocations: 14.09 kB / 0.5443 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.4328, allocations: 185.2 kB / 0.5444 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.512e-05/0.4328, allocations: 18.16 kB / 0.5445 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.4331, allocations: 67.08 kB / 0.5445 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.4332, allocations: 31.34 kB / 0.5445 GB, free: 2.805 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.0002237/0.4334, allocations: 186.2 kB / 0.5447 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4336, allocations: 39.8 kB / 0.5448 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.316e-05/0.4337, allocations: 41.64 kB / 0.5448 GB, free: 2.586 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4337, allocations: 14.38 kB / 0.5448 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.4338, allocations: 3.25 kB / 0.5448 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.4338, allocations: 2.281 kB / 0.5448 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4348, allocations: 411.6 kB / 0.5452 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4348, allocations: 2.188 kB / 0.5452 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005599/0.4354, allocations: 126.6 kB / 0.5453 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.4354, allocations: 3.969 kB / 0.5453 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.4355, allocations: 18.77 kB / 0.5454 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.4355, allocations: 7.375 kB / 0.5454 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4355, allocations: 2.719 kB / 0.5454 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.4364, allocations: 1.1 MB / 0.5464 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.4365, allocations: 108.9 kB / 0.5465 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.4365, allocations: 12 kB / 0.5466 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.4369, allocations: 11.94 kB / 0.5466 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.437, allocations: 31.89 kB / 0.5466 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.437, allocations: 16 kB / 0.5466 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.4371, allocations: 170 kB / 0.5468 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4371, allocations: 0 / 0.5468 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008575/0.438, allocations: 143.7 kB / 0.5469 GB, free: 0.5977 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.0001969/0.4382, allocations: 111.2 kB / 0.547 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.4388, allocations: 345.1 kB / 0.5473 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4388, allocations: 0 / 0.5473 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.439, allocations: 128.2 kB / 0.5475 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.4402, allocations: 107.4 kB / 0.5476 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.4429, allocations: 1.998 MB / 0.5495 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/0.4434, allocations: 0.8275 MB / 0.5503 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000187/0.4436, allocations: 52.14 kB / 0.5504 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.4437, allocations: 31.44 kB / 0.5504 GB, free: 12.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4437, allocations: 0 / 0.5504 GB, free: 12.92 MB / 414.1 MB Notification: Performance of Templates: time 0.009961/0.4537, allocations: 4.172 MB / 0.5545 GB, free: 8.785 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