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.001395/0.001395, allocations: 118.8 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.253/0.253, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 75.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3887, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004426/0.3932, allocations: 3.08 MB / 0.534 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009641/0.3942, allocations: 414.8 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.3944, allocations: 10.81 kB / 0.5344 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3945, allocations: 66.19 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.3949, allocations: 165.8 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3952, allocations: 101.5 kB / 0.5347 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006694/0.3958, allocations: 0.5368 MB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.3962, allocations: 169.2 kB / 0.5354 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.3965, allocations: 205.6 kB / 0.5356 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3968, allocations: 214.6 kB / 0.5358 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.3969, allocations: 40.72 kB / 0.5358 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.3969, allocations: 40.5 kB / 0.5359 GB, free: 9.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.397, allocations: 97.7 kB / 0.536 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.3973, allocations: 248.3 kB / 0.5362 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005963/0.3979, allocations: 0.5322 MB / 0.5367 GB, free: 9.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3979, allocations: 1.125 kB / 0.5367 GB, free: 9.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3979, allocations: 0 / 0.5367 GB, free: 9.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.398, allocations: 0 / 0.5367 GB, free: 9.215 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.001042/0.399, allocations: 0.7128 MB / 0.5374 GB, free: 8.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3991, allocations: 12.62 kB / 0.5374 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3992, allocations: 55.19 kB / 0.5375 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3995, allocations: 283.5 kB / 0.5378 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.918e-05/0.3996, allocations: 36.5 kB / 0.5378 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.892e-05/0.3997, allocations: 52.5 kB / 0.5378 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.4005, allocations: 461.4 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.4005, allocations: 15.3 kB / 0.5383 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.4006, allocations: 20.66 kB / 0.5383 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.4006, allocations: 13.22 kB / 0.5383 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.4011, allocations: 257.1 kB / 0.5386 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.4035, allocations: 1.694 MB / 0.5402 GB, free: 6.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.4041, allocations: 414.9 kB / 0.5406 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.4043, allocations: 164 kB / 0.5408 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.4044, allocations: 5.312 kB / 0.5408 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/0.4044, allocations: 50.7 kB / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.883e-06/0.4044, allocations: 0 / 0.5408 GB, free: 5.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008002/0.4052, allocations: 351.6 kB / 0.5412 GB, free: 5.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001734/0.4054, allocations: 272 kB / 0.5414 GB, free: 5.297 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.4057, allocations: 250.7 kB / 0.5417 GB, free: 5.121 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.4058, allocations: 40.16 kB / 0.5417 GB, free: 5.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.4059, allocations: 241.6 kB / 0.5419 GB, free: 4.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.4061, allocations: 187.1 kB / 0.5421 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4063, allocations: 114.7 kB / 0.5422 GB, free: 4.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4065, allocations: 352.4 kB / 0.5426 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.4067, allocations: 117.5 kB / 0.5427 GB, free: 4.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000446/0.4071, allocations: 419.5 kB / 0.5431 GB, free: 3.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/0.408, allocations: 0.5697 MB / 0.5436 GB, free: 3.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.408, allocations: 6.5 kB / 0.5436 GB, free: 3.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009573/0.409, allocations: 0.5679 MB / 0.5442 GB, free: 2.922 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.409, allocations: 8.969 kB / 0.5442 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.409, allocations: 18.19 kB / 0.5442 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.094e-05/0.4091, allocations: 14.66 kB / 0.5442 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/0.4097, allocations: 184.3 kB / 0.5444 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/0.4097, allocations: 21.8 kB / 0.5444 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.41, allocations: 63.81 kB / 0.5445 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.004e-05/0.4101, allocations: 31.44 kB / 0.5445 GB, free: 2.812 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.0002083/0.4103, allocations: 178.4 kB / 0.5447 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.4105, allocations: 38.69 kB / 0.5447 GB, free: 2.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.4106, allocations: 42.14 kB / 0.5448 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4106, allocations: 10.31 kB / 0.5448 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.4106, allocations: 3.406 kB / 0.5448 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.4106, allocations: 10.08 kB / 0.5448 GB, free: 2.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.4116, allocations: 420.3 kB / 0.5452 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4116, allocations: 2.281 kB / 0.5452 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.4122, allocations: 122.6 kB / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.4122, allocations: 4.219 kB / 0.5453 GB, free: 2.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.4122, allocations: 13.5 kB / 0.5453 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.4122, allocations: 8.375 kB / 0.5453 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4123, allocations: 6.344 kB / 0.5453 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.4131, allocations: 1.086 MB / 0.5464 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.954e-05/0.4132, allocations: 116.7 kB / 0.5465 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.4132, allocations: 8 kB / 0.5465 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003915/0.4136, allocations: 15.94 kB / 0.5465 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.4137, allocations: 27.91 kB / 0.5466 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.4137, allocations: 15.98 kB / 0.5466 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001556/0.4138, allocations: 174 kB / 0.5467 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4138, allocations: 0 / 0.5467 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008288/0.4147, allocations: 135.7 kB / 0.5469 GB, free: 0.625 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.0002193/0.4149, allocations: 107.2 kB / 0.547 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005662/0.4155, allocations: 347.9 kB / 0.5473 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4155, allocations: 5.75 kB / 0.5473 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.4157, allocations: 133.1 kB / 0.5474 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.4169, allocations: 112.1 kB / 0.5475 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.4196, allocations: 1.964 MB / 0.5495 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.4201, allocations: 0.8275 MB / 0.5503 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.4202, allocations: 48.16 kB / 0.5503 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.4203, allocations: 31.44 kB / 0.5503 GB, free: 12.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4203, allocations: 4 kB / 0.5503 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Templates: time 0.008638/0.429, allocations: 4.172 MB / 0.5544 GB, free: 8.832 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